From: emv Date: Fri, 22 Mar 2013 10:19:48 +0000 (+0400) Subject: 0023849: BOP regression (1) - BRepAlgoAPI_Common. X-Git-Tag: V6_6_0_beta~2 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=ce101cacbfc48038d32ccf19bb2c3930bb35f81a;p=occt-copy.git 0023849: BOP regression (1) - BRepAlgoAPI_Common. Fix for the bug. Set the lower bound for the refined tolerance value in 2d classification algorithm. --- diff --git a/src/BRepClass/BRepClass_Intersector.cxx b/src/BRepClass/BRepClass_Intersector.cxx index 9ddbe6bf5c..5e14adb51b 100755 --- a/src/BRepClass/BRepClass_Intersector.cxx +++ b/src/BRepClass/BRepClass_Intersector.cxx @@ -209,6 +209,10 @@ void RefineTolerance(const TopoDS_Face& aF, aTolX=-aTolX; } // + if (aTolX < Precision::Confusion()) { + aTolX = Precision::Confusion(); + } + // if (aTolX