M_Rhino_Geometry_Polyline_GetSegments - mcneel/rhinocommon-api-docs GitHub Wiki

Polyline.GetSegments Method

Constructs an array of line segments that make up the entire polyline.

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

Syntax

C#

public Line[] GetSegments()

VB

Public Function GetSegments As Line()

Return Value

Type: Line[]
An array of line segments or null if the polyline contains fewer than 2 points.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Polyline Class
Rhino.Geometry Namespace

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