DisplayConduit.CalculateBoundingBoxZoomExtents Method

DisplayConduitCalculateBoundingBoxZoomExtents Method

If you want to participate in the Zoom Extents command with your display conduit, then you will need to override ZoomExtentsBoundingBox. Typically you could just call your CalculateBoundingBox override, but you may also want to spend a little more time here and compute a tighter bounding box for your conduit geometry if that is needed.

The default implementation does nothing.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
protected virtual void CalculateBoundingBoxZoomExtents(
	CalculateBoundingBoxEventArgs e
)
Protected Overridable Sub CalculateBoundingBoxZoomExtents ( 
	e As CalculateBoundingBoxEventArgs
)

Parameters

e
Type: Rhino.DisplayCalculateBoundingBoxEventArgs
The event argument contain the current bounding box state.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also