Open CASCADE Technology
7.3.0
|
This class provides methods to read and write triangulation from / to the STL files. More...
#include <RWStl.hxx>
Static Public Member Functions | |
static Standard_Boolean | WriteBinary (const Handle< Poly_Triangulation > &theMesh, const OSD_Path &thePath, const Handle< Message_ProgressIndicator > &theProgInd=Handle< Message_ProgressIndicator >()) |
Write triangulation to binary STL file. binary format of an STL file. Returns false if the cannot be opened;. More... | |
static Standard_Boolean | WriteAscii (const Handle< Poly_Triangulation > &theMesh, const OSD_Path &thePath, const Handle< Message_ProgressIndicator > &theProgInd=Handle< Message_ProgressIndicator >()) |
write the meshing in a file following the Ascii format of an STL file. Returns false if the cannot be opened; More... | |
static Handle< Poly_Triangulation > | ReadFile (const OSD_Path &theFile, const Handle< Message_ProgressIndicator > &aProgInd=Handle< Message_ProgressIndicator >()) |
Read specified STL file and returns its content as triangulation. In case of error, returns Null handle. More... | |
static Handle< Poly_Triangulation > | ReadFile (const Standard_CString theFile, const Handle< Message_ProgressIndicator > &aProgInd=Handle< Message_ProgressIndicator >()) |
Read specified STL file and returns its content as triangulation. In case of error, returns Null handle. More... | |
static Handle< Poly_Triangulation > | ReadBinary (const OSD_Path &thePath, const Handle< Message_ProgressIndicator > &theProgInd=Handle< Message_ProgressIndicator >()) |
Read triangulation from a binary STL file In case of error, returns Null handle. More... | |
static Handle< Poly_Triangulation > | ReadAscii (const OSD_Path &thePath, const Handle< Message_ProgressIndicator > &theProgInd=Handle< Message_ProgressIndicator >()) |
Read triangulation from an Ascii STL file In case of error, returns Null handle. More... | |
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.
|
static |
Read specified STL file and returns its content as triangulation. In case of error, returns Null handle.
|
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;.