projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0025048: Wrong return value of GeomLib_Tool::Parameter
[occt.git]
/
src
/
GeomLib
/
GeomLib_Tool.cxx
diff --git
a/src/GeomLib/GeomLib_Tool.cxx
b/src/GeomLib/GeomLib_Tool.cxx
index
2049a72
..
daa4408
100644
(file)
--- a/
src/GeomLib/GeomLib_Tool.cxx
+++ b/
src/GeomLib/GeomLib_Tool.cxx
@@
-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; }