function for reading data from Neper tessellation files (.tess)
Description
readTessFile is a helping function used from the grain2d.load and grain3d.load method to read the data from the tessellation files that neper outputs
Syntax
[dim, V, poly, rot, CS, I_GrainsFaces] = readTessFile('filepath/filename.tess')
Input
fname | file name |
Output
dim | dimension of the tessellation (2 or 3) |
V | list of vertices(x,y,z) |
F | cell array with all faces |
ori | rotation (orientation) |
CS | crystalSymmetry |
I_GF | incidence matrix grains - faces |
cell_ids | ids of the cells according to initial 3d tessellation |