TRI (triangle) file reader. More...
Public Member Functions | |
TRIReader (const fileName &filename) | |
~TRIReader ()=default | |
void | clear () |
label | mergePointsMap (labelList &pointMap) const |
label | mergePointsMap (const scalar mergeTol, labelList &pointMap) const |
bool | sorted () const |
List< STLpoint > & | points () |
List< label > & | zoneIds () |
List< word > & | names () |
List< label > & | sizes () |
![]() | |
surfaceFormatsCore ()=default | |
virtual | ~surfaceFormatsCore ()=default |
Additional Inherited Members | |
![]() | |
static bool | checkSupport (const wordHashSet &available, const word &fileType, const bool verbose=false, const char *functionName=nullptr) |
static fileName | findFile (const IOobject &io, const bool isGlobal=true) |
static fileName | findFile (const IOobject &io, const dictionary &dict, const bool isGlobal=true) |
![]() | |
static word | nativeExt |
![]() | |
static string | getLineNoComment (ISstream &is, const char comment='#') |
template<class Container > | |
static List< surfZone > | oneZone (const Container &container, const word &name="zone0") |
static labelList | getSelectedPatches (const surfZoneList &patches, const wordRes &allow, const wordRes &deny=wordRes()) |
static fileName | relativeFilePath (const IOobject &io, const fileName &f, const bool isGlobal=true) |
static fileName | checkFile (const IOobject &io, const bool isGlobal=true) |
static fileName | checkFile (const IOobject &io, const dictionary &dict, const bool isGlobal=true) |
TRI (triangle) file reader.
For TRI format (eg, AC3D). Each input line has 9 floats (3 points, each 3 floats) followed by hex colour. The colour is used to build regions numbered from 0 upwards.
Reading and stitching similar to the STLReader.
Definition at line 57 of file TRIReader.H.
Definition at line 160 of file TRIReader.C.
|
default |
void clear | ( | ) |
Definition at line 176 of file TRIReader.C.
Foam::label mergePointsMap | ( | labelList & | pointMap | ) | const |
Definition at line 187 of file TRIReader.C.
References Foam::doubleScalarSMALL.
Referenced by TRIsurfaceFormat< Face >::read().
Foam::label mergePointsMap | ( | const scalar | mergeTol, |
labelList & | pointMap | ||
) | const |
Definition at line 201 of file TRIReader.C.
References Foam::mergePoints().
|
inline |
Definition at line 111 of file TRIReader.H.
Referenced by TRIsurfaceFormat< Face >::read().
Definition at line 117 of file TRIReader.H.
Referenced by TRIsurfaceFormat< Face >::read().
|
inline |
Definition at line 123 of file TRIReader.H.
Referenced by TRIsurfaceFormat< Face >::read().
Definition at line 129 of file TRIReader.H.
|
inline |
Definition at line 135 of file TRIReader.H.
Referenced by TRIsurfaceFormat< Face >::read().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.