Click or drag to resize

CustomRenderMeshProviderBoundingBox Method (ViewportInfo, RhinoObject, RhinoDoc, Guid, Boolean)

Returns a bounding box for the custom render meshes for the given object.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public virtual BoundingBox BoundingBox(
	ViewportInfo vp,
	RhinoObject obj,
	RhinoDoc doc,
	Guid requestingPlugIn,
	bool preview
)

Parameters

vp
Type: Rhino.DocObjectsViewportInfo
The viewport being rendered.
obj
Type: Rhino.DocObjectsRhinoObject
The Rhino object of interest. This can be null in the case where document meshes (not associated with any object) are being requested.
doc
Type: RhinoRhinoDoc
The Rhino document of interest.
requestingPlugIn
Type: SystemGuid
UUID of the RDK plug-in requesting the meshes.
preview
Type: SystemBoolean
Type of mesh to build.

Return Value

Type: BoundingBox
A bounding box value.
Version Information

Rhino for Windows

Supported in: 6.2
See Also