// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
-
//=======================================================================
-//function : GetShapesLocations
+//function : SetWithTriangles
//purpose :
//=======================================================================
-inline BinTools_LocationSet& BinMNaming_NamedShapeDriver::GetShapesLocations()
+
+inline void BinMNaming_NamedShapeDriver::SetWithTriangles(const Standard_Boolean isWithTriangles)
{
- return myShapeSet.ChangeLocations();
+ myWithTriangles = isWithTriangles;
+ if (myShapeSet)
+ myShapeSet->SetWithTriangles (isWithTriangles);
}
+//=======================================================================
+//function : SetWithNormals
+//purpose :
+//=======================================================================
+
+inline void BinMNaming_NamedShapeDriver::SetWithNormals(const Standard_Boolean isWithNormals)
+{
+ myWithNormals = isWithNormals;
+ if (myShapeSet)
+ myShapeSet->SetWithNormals (isWithNormals);
+
+}