1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0025048: Wrong return value of GeomLib_Tool::Parameter

This commit is contained in:
ifv 2015-07-10 14:10:14 +03:00 committed by bugmaster
parent dc66be9299
commit 3eb3fdd8e6

View File

@ -190,6 +190,7 @@ Standard_Boolean GeomLib_Tool::Parameter(const Handle(Geom_Curve)& Curve,
}
}
if( iMin != 0 && Dist2Min <= aTol ) U = (extrema.Point(iMin)).Parameter();
else return Standard_False;
}
else { return Standard_False; }