0022689: Infinite loop in BRepExtrema_DistanceSS, in static function TRIM_INFINIT_FACE
authorSZV <>
Wed, 3 Aug 2011 12:34:31 +0000 (12:34 +0000)
committerbugmaster <bugmaster@opencascade.com>
Mon, 5 Mar 2012 15:29:33 +0000 (19:29 +0400)
src/BRepExtrema/BRepExtrema_DistanceSS.cxx

index beda02c..9e5b247 100755 (executable)
@@ -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);