#include <TDataStd_IntegerArray.hxx>
+#include <BRepBuilderAPI_Copy.hxx>
#include <BRep_Tool.hxx>
#include <BRepAlgo.hxx>
Standard_NullObject::Raise("In Partition a shape is null");
}
//
+ BRepBuilderAPI_Copy aCopyTool (aShape_i);
+ if (aCopyTool.IsDone())
+ aShape_i = aCopyTool.Shape();
+ else
+ Standard_NullObject::Raise("Bad shape detected");
+ //
TopTools_ListOfShape aSimpleShapes;
PrepareShapes(aShape_i, aType, aSimpleShapes);
TopTools_ListIteratorOfListOfShape aSimpleIter (aSimpleShapes);
Standard_NullObject::Raise("In Partition a tool shape is null");
}
//
+ BRepBuilderAPI_Copy aCopyTool (aShape_i);
+ if (aCopyTool.IsDone())
+ aShape_i = aCopyTool.Shape();
+ else
+ Standard_NullObject::Raise("Bad shape detected");
+ //
TopTools_ListOfShape aSimpleShapes;
PrepareShapes(aShape_i, aType, aSimpleShapes);
TopTools_ListIteratorOfListOfShape aSimpleIter (aSimpleShapes);
Standard_NullObject::Raise("In Partition a Keep Inside shape is null");
}
//
+ BRepBuilderAPI_Copy aCopyTool (aShape_i);
+ if (aCopyTool.IsDone())
+ aShape_i = aCopyTool.Shape();
+ else
+ Standard_NullObject::Raise("Bad shape detected");
+ //
TopTools_ListOfShape aSimpleShapes;
PrepareShapes(aShape_i, aType, aSimpleShapes);
TopTools_ListIteratorOfListOfShape aSimpleIter (aSimpleShapes);
Standard_NullObject::Raise("In Partition a Remove Inside shape is null");
}
//
+ BRepBuilderAPI_Copy aCopyTool (aShape_i);
+ if (aCopyTool.IsDone())
+ aShape_i = aCopyTool.Shape();
+ else
+ Standard_NullObject::Raise("Bad shape detected");
+ //
TopTools_ListOfShape aSimpleShapes;
PrepareShapes(aShape_i, aType, aSimpleShapes);
TopTools_ListIteratorOfListOfShape aSimpleIter (aSimpleShapes);