M_Rhino_Geometry_Polyline_GetSegments - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs an array of line segments that make up the entire polyline.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public Line[] GetSegments()
VB
Public Function GetSegments As Line()
Type: Line[]
An array of line segments or null if the polyline contains fewer than 2 points.
Supported in: 6.0.16224.21491, 5D58w