1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-13 14:27:08 +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 abv
parent 2c74997d54
commit 233b69d788

View File

@@ -194,6 +194,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; }