Open CASCADE Technology
6.5.4
|
Offers the API for STL data manipulation.
#include <StlAPI.hxx>
Static Public Member Functions | |
static DEFINE_STANDARD_ALLOC void | Write (const TopoDS_Shape &aShape, const Standard_CString aFile, const Standard_Boolean aAsciiMode=Standard_True) |
Convert and write shape to STL format. file is written in binary if aAsciiMode is False otherwise it is written in Ascii (by default) | |
static void | Read (TopoDS_Shape &aShape, const Standard_CString aFile) |
Create a shape from a STL format. |
static void StlAPI::Read | ( | TopoDS_Shape & | aShape, |
const Standard_CString | aFile | ||
) | [static] |
static DEFINE_STANDARD_ALLOC void StlAPI::Write | ( | const TopoDS_Shape & | aShape, |
const Standard_CString | aFile, | ||
const Standard_Boolean | aAsciiMode = Standard_True |
||
) | [static] |