FreeFOAM The Cross-Platform CFD Toolkit
TRI Directory Reference
+ Directory dependency graph for src/triSurface/triSurface/interfaces/TRI/:

Files

file  readTRI.C [code]
 TRI (triangle) file reader. Comes out of e.g. AC3D. lines are 9 floats (3 points, each 3 floats) followed by hex colour. Is converted into regions: regions numbered from 0 up, each colour is region. Most of reading/stitching taken from STL reader.
file  writeTRI.C [code]