OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

TRI Directory Reference

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]
Copyright © 2000-2009 OpenCFD Ltd