grasshopper2 Rhinorhino3d.com
TopicType Reference
X → Angle Conversions

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

Fair Conversions

This section lists all fair Fair conversions to the angle 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
complex number Extracts the phase of the complex number as an angle in radians.
integer Converts the integer to an angle in degrees.
integer (big) Converts the integer to an angle in degrees.
number Converts the number to an angle in degrees.

Plausible Conversions

This section lists all plausible Plausible conversions to the angle 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
arc Extracts the sweep angle of the arc in degrees.
circle Extracts the sweep angle of the circle in degrees.
colour Extracts the hue of the color as an angle in degrees.
Colour (RGB) Extracts the hue of the color as an angle in degrees.
curve Extracts the sweep angle of circular and arc-shaped curves in degrees.
point2 Measures the angle from the origin to the 2D point.
vector Measures the angle of the vector in the XY plane.