M_Rhino_Geometry_Curve_TryGetPolyline - mcneel/rhinocommon-api-docs GitHub Wiki
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.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public bool TryGetPolyline(
out Polyline polyline
)
VB
Public Function TryGetPolyline (
<OutAttribute> ByRef polyline As Polyline
) As Boolean
- polyline
- Type: Rhino.Geometry.Polyline
If true is returned, then the polyline form is returned here.
Type: Boolean
true if this curve can be represented as a polyline; otherwise, false.
Supported in: 6.0.16224.21491, 5D58w