const bool theIsMakeCompSolids)
{
BOPAlgo_PaveFiller* aPaveFiller = new BOPAlgo_PaveFiller;
- BOPCol_ListOfShape aListOfShape;
+ TopTools_ListOfShape aListOfShape;
for(ListOfShape::const_iterator
anIt = theListOfShape.cbegin(); anIt != theListOfShape.cend(); anIt++) {
const TopoDS_Shape& aShape = (*anIt)->impl<TopoDS_Shape>();
}
aPaveFiller->SetArguments(aListOfShape);
aPaveFiller->Perform();
-#ifdef USE_OCCT_720
if (aPaveFiller->HasErrors())
return;
-#else
- Standard_Integer iErr = aPaveFiller->ErrorStatus();
- if(iErr) {
- return;
- }
-#endif
BOPAlgo_Builder* aBuilder = new BOPAlgo_Builder();
this->setImpl(aBuilder);
this->setBuilderType(OCCT_BOPAlgo_Builder);
aBuilder->SetArguments(aListOfShape);
aBuilder->PerformWithFiller(*aPaveFiller);
-#ifdef USE_OCCT_720
if (aBuilder->HasErrors())
return;
-#else
- iErr = aBuilder->ErrorStatus();
- if(iErr) {
- return;
- }
-#endif
TopoDS_Shape aResult = aBuilder->Shape();
if(aResult.ShapeType() == TopAbs_COMPOUND) {