M_Rhino_Geometry_Polyline_SegmentAt - mcneel/rhinocommon-api-docs GitHub Wiki

Polyline.SegmentAt Method

Gets the line segment at the given index.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public Line SegmentAt(
	int index
)

VB

Public Function SegmentAt ( 
	index As Integer
) As Line

Parameters

 

index
Type: System.Int32
Index of segment to retrieve.

Return Value

Type: Line
Line segment at index or Line.Unset on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Polyline Class
Rhino.Geometry Namespace

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