This topic provides a reference table for all automatic type conversions to polyline, sorted by merit.
Direct Conversions
This section lists all direct
conversions to the polyline type. A 'Direct' conversion indicates a relation between very related types, such as integers and numbers, or 2D and 3D points. Though note that even these conversions can fail due to out-of-bounds issues, or be narrowing due to reduction.
| From | Explanation |
|---|---|
| line | Converts the line into a single-segment polyline. |
| rectangle | Converts the rectangle edges into a polyline boundary. |
| triangle | Converts the triangle into a polyline boundary. |
Fair Conversions
This section lists all fair
conversions to the polyline type. A 'Fair' conversion indicates the types involved are closesly related in a data layout sense, though not necessarily in a conceptual sense. For example booleans and integers, or points and vectors. Although these conversions may fail or narrow, it is nevertheless considered decent practice to rely upon them in algorithms.
| From | Explanation |
|---|---|
| arc | Creates a polyline approximation of the arc. |
| circle | Creates a polyline approximation of the circle. |
| curve | Creates a polyline approximation of the curve. |
Plausible Conversions
This section lists all plausible
conversions to the polyline type. A 'Plausible' conversion indicates a non-straightforward, but a still reasonable conversion between two types that share a salient quality, or where one is an obvious sub-type of the other. For example curves and intervals, or points and planes. Any plausible conversion can also be achieved through the explicit use of standard components.
| From | Explanation |
|---|---|
| identifier | Extracts the polyline of the referenced Rhino curve object. |