From ce101cacbfc48038d32ccf19bb2c3930bb35f81a Mon Sep 17 00:00:00 2001 From: emv Date: Fri, 22 Mar 2013 14:19:48 +0400 Subject: [PATCH] 0023849: BOP regression (1) - BRepAlgoAPI_Common. Fix for the bug. Set the lower bound for the refined tolerance value in 2d classification algorithm. --- src/BRepClass/BRepClass_Intersector.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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