This class provides methods to read and write triangulation from / to the STL files.
More...
|
| static bool | WriteBinary (const occ::handle< Poly_Triangulation > &theMesh, const OSD_Path &thePath, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| | Write triangulation to binary STL file. binary format of an STL file. Returns false if the cannot be opened;.
|
| |
| static bool | WriteBinary (const occ::handle< Poly_Triangulation > &theMesh, Standard_OStream &theStream, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| | Write triangulation to binary STL stream.
|
| |
| static bool | WriteAscii (const occ::handle< Poly_Triangulation > &theMesh, const OSD_Path &thePath, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| | write the meshing in a file following the Ascii format of an STL file. Returns false if the cannot be opened;
|
| |
| static bool | WriteAscii (const occ::handle< Poly_Triangulation > &theMesh, Standard_OStream &theStream, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| | Write triangulation to ASCII STL stream.
|
| |
| static occ::handle< Poly_Triangulation > | ReadFile (const OSD_Path &theFile, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| | Read specified STL file and returns its content as triangulation. In case of error, returns Null handle.
|
| |
| static occ::handle< Poly_Triangulation > | ReadFile (const char *const theFile, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| | Read specified STL file and returns its content as triangulation. In case of error, returns Null handle.
|
| |
| static occ::handle< Poly_Triangulation > | ReadFile (const char *const theFile, const double theMergeAngle, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| | Read specified STL file and returns its content as triangulation.
|
| |
| static void | ReadFile (const char *const theFile, const double theMergeAngle, NCollection_Sequence< occ::handle< Poly_Triangulation > > &theTriangList, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| | Read specified STL file and fills triangulation list for multi-domain case.
|
| |
| static occ::handle< Poly_Triangulation > | ReadBinary (const OSD_Path &thePath, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| | Read triangulation from a binary STL file In case of error, returns Null handle.
|
| |
| static occ::handle< Poly_Triangulation > | ReadAscii (const OSD_Path &thePath, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| | Read triangulation from an Ascii STL file In case of error, returns Null handle.
|
| |
| static occ::handle< Poly_Triangulation > | ReadBinaryStream (Standard_IStream &theStream, const double theMergeAngle=M_PI/2.0, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| | Read triangulation from binary STL stream In case of error, returns Null handle.
|
| |
| static occ::handle< Poly_Triangulation > | ReadAsciiStream (Standard_IStream &theStream, const double theMergeAngle=M_PI/2.0, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| | Read triangulation from ASCII STL stream In case of error, returns Null handle.
|
| |
| static occ::handle< Poly_Triangulation > | ReadStream (Standard_IStream &theStream, const double theMergeAngle=M_PI/2.0, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| | Read STL data from stream (auto-detects ASCII vs Binary) In case of error, returns Null handle.
|
| |
This class provides methods to read and write triangulation from / to the STL files.