grasshopper2 Rhinorhino3d.com
TopicType Reference
X → Point2 Conversions

This topic provides a reference table for all automatic type conversions to point2, sorted by merit.

Direct Conversions

This section lists all direct Direct conversions to the point2 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
complex number Maps real and imaginary components to U and V coordinates.
point3 Created a 2D point from the 3D point.
surface locus Extracts the (u,v) coordinates of a parametric surface locus.

Fair Conversions

This section lists all fair Fair conversions to the point2 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
ITuple Convert coordinate tuples to points.