projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0024988: Wrong result done by projection algorithm
[occt.git]
/
src
/
LocOpe
/
LocOpe_SplitShape.cxx
diff --git
a/src/LocOpe/LocOpe_SplitShape.cxx
b/src/LocOpe/LocOpe_SplitShape.cxx
index
79d49d9
..
aac49a4
100644
(file)
--- a/
src/LocOpe/LocOpe_SplitShape.cxx
+++ b/
src/LocOpe/LocOpe_SplitShape.cxx
@@
-1466,7
+1466,7
@@
static void ChoixUV(const TopoDS_Edge& Last,
ang = -M_PI;
}
- if ((dist
< tol
) && (ang > angmax)) {
+ if ((dist
- tol < Epsilon(1.0)
) && (ang > angmax)) {
imin = index;
angmax = ang;
}