function for reading data from nepers 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
Input
fname | filepath |
Output
dim | dimension of the tessellation (2 or 3) |
V | list of vertices(x,y,z) |
poly | cell array with all faces |
rot | rotation (orientation) |
CS | @crystlSymmetry |
I_GrainsFaces | adjacency matrix grains - faces |
cell_ids | ids of the cells according to initial 3d tessellation |