This topic provides a reference table for all automatic type conversions to arc, sorted by merit.
Direct Conversions
This section lists all direct
conversions to the arc type. A direct conversion indicates a relation between very related types. Though note that even these conversions can fail due to out-of-bounds issues, or they may narrow due to reduction. Examples in this category include conversions from circles to curves, or from integers to numbers.
| From | Explanation |
|---|---|
| circle | Circles are converted to full arcs. |
| curve | Convert a circular curve into a proper arc. |
Fair Conversions
This section lists all fair
conversions to the arc type. A fair conversion indicates the types involved are closely related in a data layout sense, though not necessarily in a conceptual sense. Although these conversions may fail or narrow, it is nevertheless considered decent practice to rely upon them. Examples in this category include conversions from booleans to integers, or from curves to intervals.
| From | Explanation |
|---|---|
| sphere | Extracts the equatorial circle of the sphere. |
Plausible Conversions
This section lists all plausible
conversions to the arc type. A plausible conversion indicates a non-straightforward, but still a reasonable conversion between two types sharing a salient quality, or where one is an obvious sub-type of the other. Any plausible conversion can also be achieved through the explicit use of standard components. Examples in this category include conversions from points to planes, or from boxes to rectangles.
| From | Explanation |
|---|---|
| identifier | Extracts the arc of the referenced Rhino curve object. |
| plane | Creates a circular unit arc oriented on the plane. |
| point2 | Creates a circular unit arc centered on the 2D point. |
| point3 | Creates a circular unit arc centered on the point. |
| tube | Extracts the circular arc from the tube base. |