projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0027890: BndLib_Add2dCurve::Add(..) works incorrect on some curves
[occt.git]
/
src
/
BndLib
/
BndLib_Add2dCurve.cxx
diff --git
a/src/BndLib/BndLib_Add2dCurve.cxx
b/src/BndLib/BndLib_Add2dCurve.cxx
index
13ee2b2
..
8bf7619
100644
(file)
--- a/
src/BndLib/BndLib_Add2dCurve.cxx
+++ b/
src/BndLib/BndLib_Add2dCurve.cxx
@@
-524,9
+524,8
@@
void BndLib_Box2dCurve::PerformOther()
aNb=33;
dT=(myT2-myT1)/(aNb-1);
//
- aT=myT1;
for (j=0; j<aNb; ++j) {
- aT=j*dT;
+ aT=
myT1+
j*dT;
myCurve->D0(aT, aP2D);
myBox.Add(aP2D);
}