]> OCCT Git - occt-copy.git/commitdiff
actual fix
authorisn <isn@opencascade.com>
Mon, 26 Sep 2016 08:48:39 +0000 (11:48 +0300)
committerisn <isn@opencascade.com>
Mon, 26 Sep 2016 08:48:39 +0000 (11:48 +0300)
src/BndLib/BndLib_Add2dCurve.cxx

index 13ee2b28435a02412771826de2f081460112162c..8bf76191f83cb047994464898d6103a06c379c12 100644 (file)
@@ -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);
   }