mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0025255: API to control storage with triangulation in BinTools
Method to govern writing shape with or without triangles added
This commit is contained in:
@@ -41,6 +41,9 @@ is
|
||||
Delete(me:out) is virtual;
|
||||
---C++: alias "Standard_EXPORT virtual ~BinTools_ShapeSet(){Delete() ; }"
|
||||
|
||||
SetWithTriangles(me : out; isWithTriangles : Boolean) is static;
|
||||
---Purpose: Define if shape will be stored with triangles
|
||||
|
||||
SetFormatNb(me : out; theFormatNb : Integer) is static;
|
||||
|
||||
FormatNb(me) returns Integer is static;
|
||||
|
@@ -80,6 +80,15 @@ BinTools_ShapeSet::BinTools_ShapeSet(const Standard_Boolean isWithTriangles)
|
||||
void BinTools_ShapeSet::Delete()
|
||||
{}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetWithTriangles
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
void BinTools_ShapeSet::SetWithTriangles(const Standard_Boolean isWithTriangles)
|
||||
{
|
||||
myWithTriangles = isWithTriangles;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetFormatNb
|
||||
//purpose :
|
||||
|
Reference in New Issue
Block a user