projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
0022689: Infinite loop in BRepExtrema_DistanceSS, in static function TRIM_INFINIT_FACE
[occt.git]
/
src
/
BRepExtrema
/
BRepExtrema_DistanceSS.cxx
diff --git
a/src/BRepExtrema/BRepExtrema_DistanceSS.cxx
b/src/BRepExtrema/BRepExtrema_DistanceSS.cxx
index
beda02c
..
9e5b247
100755
(executable)
--- a/
src/BRepExtrema/BRepExtrema_DistanceSS.cxx
+++ b/
src/BRepExtrema/BRepExtrema_DistanceSS.cxx
@@
-347,6
+347,8
@@
static void TRIM_INFINIT_FACE(const TopoDS_Shape& S1, const TopoDS_Shape& S2,
Vmin = aV;
else if (aV > Vmax)
Vmax = aV;
+
+ i++;
}
GeomAdaptor_Surface aGAS(pSurf);