From: JGV <> Date: Thu, 28 Apr 2011 15:46:19 +0000 (+0000) Subject: OCC22303 The algorithm BRepExtrema_DistShapeShape crashes with exception if one of... X-Git-Tag: V6_5_1~55 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=1aeb969a54493dd25d33d0a7174a27ca7c2e6fb9;p=occt-copy.git OCC22303 The algorithm BRepExtrema_DistShapeShape crashes with exception if one of the shapes does non contain vertices --- diff --git a/src/BRepExtrema/BRepExtrema_DistShapeShape.cxx b/src/BRepExtrema/BRepExtrema_DistShapeShape.cxx index d723fe37fb..168e1816d7 100755 --- a/src/BRepExtrema/BRepExtrema_DistShapeShape.cxx +++ b/src/BRepExtrema/BRepExtrema_DistShapeShape.cxx @@ -206,7 +206,8 @@ Standard_Boolean BRepExtrema_DistShapeShape::Perform() BRepClass3d_SolidClassifier Classi(myShape1); nbv2=myMapV2.Extent(); nbv1=0; - do { + while ( (nbv1