Click or drag to resize

RenderPrimitiveTryGetBox Method

Call this method to get a Box primitive for this mesh. If this meshes PrimitiveType is not a Box then the box parameter is set to Empty.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.7
Syntax
public bool TryGetBox(
	out Box box
)

Parameters

box
Type: Rhino.GeometryBox
Gets set to the box primitive for this object on success or Empty on error.

Return Value

Type: Boolean
Returns true if PrimitiveType is Box and the box parameter was initialized otherwise returns false.
See Also