Internal class used by the STLsurfaceFormat. More...
#include <surfMesh/STLsurfaceFormatCore.H>
Internal class used by the STLsurfaceFormat.
Definition at line 55 of file STLsurfaceFormatCore.H.
Public Member Functions | |
STLsurfaceFormatCore (const fileName &) | |
Read from file, filling in the information.
| |
~STLsurfaceFormatCore () | |
bool | sorted () const |
File read was already sorted.
| |
void | clear () |
Flush all values.
| |
pointField & | points () |
Return full access to the points.
| |
List< label > & | zoneIds () |
Return full access to the zoneIds.
| |
List< word > & | names () |
The list of solid names in the order of their first appearance.
| |
List< label > & | sizes () |
The list of solid sizes in the order of their first appearance.
| |
Static Public Member Functions | |
static void | writeHeaderBINARY (ostream &, unsigned int) |
Write "STL binary file" and number of triangles to stream.
| |
Static Public Attributes | |
static const unsigned int | headerSize = 80 |
The number of bytes in the STL binary header.
|
STLsurfaceFormatCore | ( | const fileName & | filename ) |
Read from file, filling in the information.
Definition at line 216 of file STLsurfaceFormatCore.C.
References IOstream::BINARY, and Foam::fileSize().
~STLsurfaceFormatCore | ( | ) |
Definition at line 250 of file STLsurfaceFormatCore.C.
void writeHeaderBINARY | ( | ostream & | os, |
unsigned int | nTris | ||
) | [static]
|
Write "STL binary file" and number of triangles to stream.
Definition at line 257 of file STLsurfaceFormatCore.C.
bool sorted | ( | ) | const [inline]
|
File read was already sorted.
Definition at line 120 of file STLsurfaceFormatCore.H.
Referenced by STLsurfaceFormat< Face >::read().
void clear | ( | ) | [inline]
|
Flush all values.
Definition at line 126 of file STLsurfaceFormatCore.H.
References List< T >::clear().
pointField& points | ( | ) | [inline]
|
Return full access to the points.
Definition at line 136 of file STLsurfaceFormatCore.H.
Referenced by STLsurfaceFormat< Face >::read().
List<label>& zoneIds | ( | ) | [inline]
|
Return full access to the zoneIds.
Definition at line 142 of file STLsurfaceFormatCore.H.
Referenced by STLsurfaceFormat< Face >::read().
The list of solid names in the order of their first appearance.
Definition at line 148 of file STLsurfaceFormatCore.H.
Referenced by STLsurfaceFormat< Face >::read().
List<label>& sizes | ( | ) | [inline]
|
The list of solid sizes in the order of their first appearance.
Definition at line 154 of file STLsurfaceFormatCore.H.
Referenced by STLsurfaceFormat< Face >::read().
const unsigned int headerSize = 80 [static]
|
The number of bytes in the STL binary header.
Definition at line 97 of file STLsurfaceFormatCore.H.