grasshopper2 Rhinorhino3d.com
TopicType Reference
X → Rectangle Conversions

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

Fair Conversions

This section lists all fair Fair conversions to the rectangle 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
view Get the target frame of the view.

Plausible Conversions

This section lists all plausible Plausible conversions to the rectangle 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 Creates the aligned bounding rectangle containing the arc.
box Extracts the base rectangle of the box.
circle Creates the aligned bounding rectangle containing the circle.
curve Creates an aligned bounding rectangle containing the curve.
identifier Extracts the rectangle of the referenced Rhino curve object.
line Creates the aligned bounding rectangle containing the line.

Strange Conversions

This section lists all strange Strange conversions to the rectangle 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
plane Creates a unit square on the plane at its origin.