CurveTryGetPolyline Method (Polyline, Double) |
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)
Since: 5.0
Syntax public bool TryGetPolyline(
out Polyline polyline,
out double[] parameters
)
Public Function TryGetPolyline (
<OutAttribute> ByRef polyline As Polyline,
<OutAttribute> ByRef parameters As Double()
) As Boolean
Parameters
- polyline
- Type: Rhino.GeometryPolyline
If true is returned, then the polyline form is returned here.
- parameters
- Type: SystemDouble
if true is returned, then the parameters of the polyline
points are returned here.
Return Value
Type:
Booleantrue if this curve can be represented as a polyline; otherwise, false.
See Also