Line.PointAtLength Method

LinePointAtLength Method

Computes a point located at a specific metric distance from the line origin (From).

If line start and end coincide, then the start point is always returned.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Point3d PointAtLength(
	double distance
)
Public Function PointAtLength ( 
	distance As Double
) As Point3d

Parameters

distance
Type: SystemDouble
A positive, 0, or a negative value that will be the distance from From.

Return Value

Type: Point3d
The newly found point.
Version Information

Rhino for Windows

Supported in: 6.8
See Also