Modify the method BOPAlgo_PaveFiller::PerformEF: the maximum distance between new and old vertex is decreased.
// Real intersection is present.
// Update the existing vertex to cover the intersection point.
+ Standard_Boolean bIsInSphereOfOldVertex = Standard_False;
for (j = 0; j < 2; ++j)
{
if (bIsOnPave[j])
{
aMaxDist = Min(aMaxDist, 0.1);
}
+ //jgv
+ aMaxDist = 1.e-5;
+ /////
if (aDistPP < aMaxDist)
{
UpdateVertex(nV[j], aDistPP);
myVertsToAvoidExtension.Add(nV[j]);
+ bIsInSphereOfOldVertex = Standard_True;
}
}
}
- continue;
+ if (bIsInSphereOfOldVertex)
+ continue;
}
if (CheckFacePaves(aVnew, aMIFOn)) {