blob: 533d7a437a1c3bd436360ebbd1a698fa193d224e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <StlAPI.ixx>
#include <StlAPI_Writer.hxx>
#include <StlAPI_Reader.hxx>
void StlAPI::Write(const TopoDS_Shape& aShape,
const Standard_CString aFile,
const Standard_Boolean aAsciiMode)
{
StlAPI_Writer writer;
writer.ASCIIMode() = aAsciiMode;
writer.Write (aShape, aFile);
}
void StlAPI::Read(TopoDS_Shape& aShape,const Standard_CString aFile)
{
StlAPI_Reader reader;
reader.Read (aShape, aFile);
}
|