hi Andrew,
thanks for your explanation; choosing one of the possible solutions is what i did not have in mind, but totally intelligible.
i tried to construct it in a different way now, using getAngleAt(), but still don't get it working.
Code: Select all
tangAng= this.curve.getAngleAt(i*spacing, from=0);
EAction.handleUserWarning("Tangent Angle: "+tangAng.toFixed(2)); //for debugging only
but i get
.
The curve is a polyline and does exist, as the following line works fine:
Code: Select all
points[i]=this.curve.getPointWithDistanceToStart(i*spacing);
, but the tangent line does not.
could you please point me to my error, once again?