1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0023849: BOP regression (1) - BRepAlgoAPI_Common.

Fix for the bug.
Set the lower bound for the refined tolerance value in 2d classification algorithm.
This commit is contained in:
emv 2013-03-22 14:19:48 +04:00
parent 456b8422e1
commit ce101cacbf

View File

@ -209,6 +209,10 @@ void RefineTolerance(const TopoDS_Face& aF,
aTolX=-aTolX;
}
//
if (aTolX < Precision::Confusion()) {
aTolX = Precision::Confusion();
}
//
if (aTolX<aTolZ) {
aTolZ=aTolX;
}