PolylineGetSegments Method |
Constructs an array of line segments that make up the entire polyline.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic Line[] GetSegments()
Public Function GetSegments As Line()
Return Value
Type:
LineAn array of line segments or null if the polyline contains fewer than 2 points.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also