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:
parent
456b8422e1
commit
ce101cacbf
@ -209,6 +209,10 @@ void RefineTolerance(const TopoDS_Face& aF,
|
||||
aTolX=-aTolX;
|
||||
}
|
||||
//
|
||||
if (aTolX < Precision::Confusion()) {
|
||||
aTolX = Precision::Confusion();
|
||||
}
|
||||
//
|
||||
if (aTolX<aTolZ) {
|
||||
aTolZ=aTolX;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user