CurveTryGetPolyline Method (Polyline)
Several types of Curve can have the form of a polyline
including a degree 1 NurbsCurve, a PolylineCurve,
and a PolyCurve all of whose segments are some form of
polyline. IsPolyline tests a curve to see if it can be
represented as a polyline.
RhinoCommon (in RhinoCommon.dll)
public bool TryGetPolyline(
out Polyline polyline
Public Function TryGetPolyline (
<OutAttribute> ByRef polyline As Polyline
) As Boolean
- Type: Rhino.GeometryPolyline
If true is returned, then the polyline form is returned here.
true if this curve can be represented as a polyline; otherwise, false.
Rhino for MacSupported in: 5.4
Rhino for WindowsSupported in: 6.27