if(aWL.IsNull())
continue;
+ if (!aWL->IsPurgingAllowed())
+ continue;
+
Handle(IntPatch_WLine) aRW =
IntPatch_WLineTool::ComputePurgedWLine(aWL, theS1, theS2, theD1, theD2, RestrictLine);
{
IntPatch_ImpImpIntersection interii(theS1,theD1,theS2,theD2,
myTolArc,myTolTang, theIsReqToKeepRLine);
- const Standard_Boolean anIS = interii.IsDone();
- if (anIS)
+ if (interii.IsDone())
{
- done = anIS;
+ done = (interii.GetStatus() == IntPatch_ImpImpIntersection::IntStatus_OK);
empt = interii.IsEmpty();
if (!empt)
{
if(aWL.IsNull())
continue;
+ if (!aWL->IsPurgingAllowed())
+ continue;
+
Handle(IntPatch_WLine) aRW =
IntPatch_WLineTool::ComputePurgedWLine(aWL, S1, S2, D1, D2, Standard_True);