mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0030090: Modeling Algorithms - BRepLib::FindValidRange does not find valid range for the edge
BRepLib::FindValidRange - check each sampling point to be out of tolerance sphere of the vertex. Test case for the issue.
This commit is contained in:
@@ -101,7 +101,8 @@ static Standard_Boolean findNearestValidPoint(
|
||||
// cycle to go out of local singularity
|
||||
gp_Vec aD1;
|
||||
theCurve.D1(anUOut, aP, aD1);
|
||||
if (aD1.SquareMagnitude() < aD1Mag)
|
||||
isOut = (aP.SquareDistance(theVertPnt) > aSqTol);
|
||||
if (!isOut && aD1.SquareMagnitude() < aD1Mag)
|
||||
{
|
||||
aStepLocal *= 2.;
|
||||
anUOut += aStepLocal;
|
||||
|
Reference in New Issue
Block a user