projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
456b842
)
0023849: BOP regression (1) - BRepAlgoAPI_Common.
author
emv
<emv@opencascade.com>
Fri, 22 Mar 2013 10:19:48 +0000
(14:19 +0400)
committer
emv
<emv@opencascade.com>
Mon, 25 Mar 2013 13:24:26 +0000
(17:24 +0400)
Fix for the bug.
Set the lower bound for the refined tolerance value in 2d classification algorithm.
src/BRepClass/BRepClass_Intersector.cxx
patch
|
blob
|
blame
|
history
diff --git
a/src/BRepClass/BRepClass_Intersector.cxx
b/src/BRepClass/BRepClass_Intersector.cxx
index
9ddbe6b
..
5e14adb
100755
(executable)
--- 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<aTolZ) {
aTolZ=aTolX;
}