X → Point2 Conversions
This topic provides a reference table for all automatic type conversions to point2, sorted by merit.
Fair Conversions
This section lists all fair
conversions to the point2 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 |
|---|---|
| complex number | Maps real and imaginary components to U and V coordinates. |
| ITuple | Convert coordinate tuples to points. |
| point3 | Created a 2D point from the 3D point. |