Loading...
Searching...
No Matches
triSurfaceSTLCore Struct Reference
Inheritance diagram for triSurfaceSTLCore:
Collaboration diagram for triSurfaceSTLCore:

Static Public Member Functions

static void writeBinaryHeader (ostream &os, uint32_t nTris)
 Write STL binary file and number of triangles to stream.

Additional Inherited Members

Public Types inherited from STLCore
enum  STLFormat { ASCII , BINARY , UNKNOWN }
 Enumeration for the format of data in the stream. More...
Protected Member Functions inherited from STLCore
 STLCore ()=default
 Default construct.
Static Protected Member Functions inherited from STLCore
static bool isBinaryName (const fileName &filename, const STLFormat format)
 Detect 'stlb' extension as binary when format = UNKNOWN.
static int detectBinaryHeader (const fileName &filename)
 Check contents to detect if the file is a binary STL.
static std::unique_ptr< std::istream > readBinaryHeader (const fileName &filename, label &nTrisEstimated)
 Read STL binary file header.
static void writeBinaryHeader (ostream &os, uint32_t nTris)
 Write STL binary file and number of triangles to stream.

Detailed Description

Definition at line 30 of file triSurfaceSTLformat.C.

Member Function Documentation

◆ writeBinaryHeader()

void writeBinaryHeader ( ostream & os,
uint32_t nTris )
static

Write STL binary file and number of triangles to stream.

Definition at line 107 of file STLCore.C.


The documentation for this struct was generated from the following file: