1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0026281: BRepCheck_Edge::Tolerance() raises exception on the given shapes

The reason of the exception has been eliminated

Test-cases for issue #26281
This commit is contained in:
nbv
2015-06-04 14:01:53 +03:00
committed by bugmaster
parent 7c47a3d647
commit b26415fbb1
4 changed files with 27 additions and 0 deletions

View File

@@ -275,6 +275,10 @@ void BSplCLib::LocateParameter
while (val <= Eps) {
KnotIndex++;
if(KnotIndex >= Knots.Upper())
break;
K1 = K2;
K2 = knots[KnotIndex + 1];
val = K2 - K1;