projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9530af2
)
0022989: BSplCLib::Reparametrize() fails on near knots
author
abv
<abv@opencascade.com>
Thu, 15 Mar 2012 04:50:00 +0000
(08:50 +0400)
committer
bugmaster
<bugmaster@opencascade.com>
Fri, 16 Mar 2012 14:51:06 +0000
(18:51 +0400)
src/BSplCLib/BSplCLib.cxx
patch
|
blob
|
blame
|
history
diff --git
a/src/BSplCLib/BSplCLib.cxx
b/src/BSplCLib/BSplCLib.cxx
index
7147f99
..
e230eb2
100755
(executable)
--- a/
src/BSplCLib/BSplCLib.cxx
+++ b/
src/BSplCLib/BSplCLib.cxx
@@
-674,7
+674,7
@@
void BSplCLib::Reparametrize
//for CheckCurveData
Standard_Real Eps = Epsilon( Abs(Knots(i-1)) );
if (Knots(i) - Knots(i-1) <= Eps)
- Knots(i)
+= 1.1*Eps
;
+ Knots(i)
= NextAfter (Knots(i-1) + Eps, RealLast())
;
K1 = K2;
}