curvePointAtLength()

Synopsis

Returns a point on the curve at a specified length from the start of the curve. This function is used when you know the length, and need the location. Use arcLengthCurve() if you know the point and need the length along the curve.

Syntax

curvePointAtLength ( Curve As Part, _
                     len As Number ) As Point 
Argument Type Description
Curve part The curve on which the point will be computed. Must be a kind of curveMixin.
len number The length from the start of the curve to the result point.

Example 1

Intent >curvePointAtLength(Arc_1, Arc_1.radius) 
--> Point_(2.702, 4.207, 0.0, WorldFrame()) 

The point returned is precisely one radian around the arc.

Example 2

Intent >curvePointAtLength(polyLine_1, 10) 
--> Point_(6.608, -0.411, 0.0, WorldFrame()) 

The length is measured along each segment.