Hi Brian,
re:
> equallySpacedPoints? (No documentation in API)
crv.equallySpacedPoints( NumSegments ); - takes one argument for number of segments, returns a list of NumSegments+1 parameter values to produce segments of equal arc lengths.
> getArcLengthParam Would this method enable a programmer to find the parameter
> where the ArcLength of the curve is some specific value? And evaluate the point there?
crv.getArcLengthParam( NormalizedDistance ); - takes one argument of either a number or sorted array of numbers with normalized distance values between 0 and 1 and returns curve parameter values for position at that arc length along the curve.
So for example crv.getArcLengthParam( 0.5 ) will return the parameter value at half the distance along the curve.
- Michael
|