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

readTRI.C File Reference

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. More...

Go to the source code of this file.


Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Detailed Description

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.

Original source file readTRI.C

Definition in file readTRI.C.

Copyright © 2000-2009 OpenCFD Ltd