#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <BOPCol_ListOfShape.hxx>
-#include <BOPCol_MapOfShape.hxx>
+#include <TopTools_ListOfShape.hxx>
+#include <TopTools_MapOfShape.hxx>
-#include <BOPCol_ListOfShape.hxx>
+#include <TopTools_ListOfShape.hxx>
#include <BOPAlgo_BuilderShape.hxx>
#include <BOPAlgo_PaveFiller.hxx>
myTransform1=NULL;
myTransform2=NULL;
myBuilder=NULL;
+ myErrorStatus=0;
+ myWarningStatus=0;
}
//=======================================================================
//function : ~
{
Standard_Integer iErr;
TopoDS_Iterator aIt;
- BOPCol_ListOfShape aLC;
+ TopTools_ListOfShape aLC;
BOPAlgo_PaveFiller aPF;
//
myErrorStatus=0;
aPF.SetArguments(aLC);
//
aPF.Perform();
- iErr=aPF.ErrorStatus();
- if (iErr) {
+ if (aPF.HasErrors())
+ {
myErrorStatus=20;
return;
}
}
//
myBuilder->PerformWithFiller(aPF);
- iErr=myBuilder->ErrorStatus();
- if (iErr) {
+ if (myBuilder->HasErrors())
+ {
myErrorStatus=21;
return;
}