@software_comas wrote:
Rhino V6 SR13 / RhinoCommon
Let’s say I would like to divide an open curve into a fixed number of segments (i.e. 10) of the same length:
Curve workingCurve;
…
Double curveLength = workingCurve.GetLength();
Double segmentLength = curveLength / 9.0;Calling
Double curveParams = workingCurve.DivideByLength(segmentLength , true, false);
I get 10 curve parameters, and that’s ok.
But if I callDouble curveParams = workingCurve.DivideByLength(segmentLength , true, true);
I get 9 curve parameters!
Is this a bug?
Posts: 1
Participants: 1