Loading...
Searching...
No Matches
STLCore.C File Reference
Include dependency graph for STLCore.C:

Go to the source code of this file.

Functions

static bool startsWithSolid (const char header[STLHeaderSize])
static bool checkBinaryFileSize (const int64_t nTris, const Foam::fileName &file)

Variables

static constexpr const unsigned STLHeaderSize = 80

Detailed Description

Original source file STLCore.C

Definition in file STLCore.C.

Function Documentation

◆ startsWithSolid()

bool startsWithSolid ( const char header[STLHeaderSize])
static

Definition at line 37 of file STLCore.C.

References STLHeaderSize.

Referenced by STLCore::detectBinaryHeader().

Here is the caller graph for this function:

◆ checkBinaryFileSize()

bool checkBinaryFileSize ( const int64_t nTris,
const Foam::fileName & file )
inlinestatic

Definition at line 63 of file STLCore.C.

References Foam::fileSize(), and STLHeaderSize.

Referenced by STLCore::detectBinaryHeader(), and STLCore::readBinaryHeader().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ STLHeaderSize

const unsigned STLHeaderSize = 80
staticconstexpr