Open CASCADE Technology 7.8.0
|
This class provides methods to read and write triangulation from / to the STL files. More...
#include <RWStl.hxx>
This class provides methods to read and write triangulation from / to the STL files.
|
static |
Read triangulation from an Ascii STL file In case of error, returns Null handle.
|
static |
Read triangulation from a binary STL file In case of error, returns Null handle.
|
static |
Read specified STL file and returns its content as triangulation. In case of error, returns Null handle.
|
inlinestatic |
Read specified STL file and returns its content as triangulation. In case of error, returns Null handle.
|
static |
Read specified STL file and returns its content as triangulation.
[in] | theFile | file path to read |
[in] | theMergeAngle | maximum angle in radians between triangles to merge equal nodes; M_PI/2 means ignore angle |
[in] | theProgress | progress indicator |
|
static |
Read specified STL file and fills triangulation list for multi-domain case.
[in] | theFile | file path to read |
[in] | theMergeAngle | maximum angle in radians between triangles to merge equal nodes; M_PI/2 means ignore angle |
[out] | theTriangList | triangulation list for multi-domain case |
[in] | theProgress | progress indicator |
|
static |
write the meshing in a file following the Ascii format of an STL file. Returns false if the cannot be opened;
|
static |
Write triangulation to binary STL file. binary format of an STL file. Returns false if the cannot be opened;.