M_Rhino_Geometry_Line_PointAtLength - mcneel/rhinocommon-api-docs GitHub Wiki

Line.PointAtLength 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) Version: Rhino 6.0

Syntax

C#

public Point3d PointAtLength(
	double distance
)

VB

Public Function PointAtLength ( 
	distance As Double
) As Point3d

Parameters

 

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

Return Value

Type: Point3d
The newly found point.

Version Information

Supported in: 6.0.16224.21491

See Also

Reference

Line Structure
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️