grasshopper2 Rhinorhino3d.com
TopicType Reference
X → Box Conversions

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

Direct Conversions

This section lists all direct Direct conversions to the box 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
B-Rep Converts box-shaped polysurfaces into boxes.

Fair Conversions

This section lists all fair Fair conversions to the box 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
arc Creates the axis-aligned bounding box of the arc.
circle Creates the axis-aligned bounding box of the circle.
curve Creates the axis-aligned bounding box of the curve.
line Creates the axis-aligned bounding box of the line.
mesh Creates the axis-aligned bounding box of the mesh.
polyline Creates the axis-aligned bounding box of the polyline.
rectangle Creates the axis-aligned bounding box of the rectangle.
sphere Creates the axis-aligned bounding box of the sphere.
SubD Creates the axis-aligned bounding box of the SubD.
surface Creates the axis-aligned bounding box of the surface.
triangle Creates the axis-aligned bounding box of the triangle.
tube Creates the axis-aligned bounding box of the tube.

Strange Conversions

This section lists all strange Strange conversions to the box 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 signals a mistake in the algorithm design, which is why this conversion level is the default for showing conversion warnings. Examples in this category include the conversion from decimal numbers to languages, or from views to meshes. Any strange conversion can also be achieved through the explicit use of standard components.

From Explanation
view Create the smallest box containing the view frustum.