grasshopper2 Rhinorhino3d.com
TopicType Reference
X → Circle Conversions

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

Fair Conversions

This section lists all fair Fair conversions to the circle 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
sphere Extracts the equator of the sphere.

Plausible Conversions

This section lists all plausible Plausible conversions to the circle 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
arc Completes the arc into a full circle.
curve Creates the spanning circle containing the curve.
identifier Extracts the circle of the referenced Rhino curve object.
plane Creates a unit circle oriented on the plane.
point2 Creates a unit circle centered on the 2D point.
point3 Creates a unit circle centered on the point.
polyline Creates the spanning circle containing the polyline.
rectangle Creates the spanning circle containing the rectangle.
triangle Creates the spanning circle containing the triangle.
tube Extracts the circular cross-section from the tube base.
vector Creates a circle at the origin normal to the vector direction.

Strange Conversions

This section lists all strange Strange conversions to the circle type. A 'Strange' conversion indicates a peculiar, but occasionally sensible, translation between types. However, it is equally likely that the conversion was not intended and thus represents a mistake in the algorithm design, which is why this conversion level is the default for showing conversion warnings in the Grasshopper interface. Examples in this category include the conversion between colours and booleans, or between circles and triangles. Any strange conversion can also be achieved through the explicit use of standard components.

From Explanation
box Creates the spanning circle containing the box base.
complex number Creates a circle at the origin intersecting the complex number coordinate.
integer Creates a circle at the origin with the specified radius.
number Creates a circle at the origin with the specified radius.