mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +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;
|
aTolX=-aTolX;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
if (aTolX < Precision::Confusion()) {
|
||||||
|
aTolX = Precision::Confusion();
|
||||||
|
}
|
||||||
|
//
|
||||||
if (aTolX<aTolZ) {
|
if (aTolX<aTolZ) {
|
||||||
aTolZ=aTolX;
|
aTolZ=aTolX;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user