1
0
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:
pdn
2014-09-22 17:57:30 +04:00
committed by bugmaster
parent 4f93349381
commit d780e37a83
4 changed files with 26 additions and 0 deletions

View File

@@ -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;

View File

@@ -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 :