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.
Namespace: Rhino.DisplayThe default implementation does nothing.
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.5 (5.0.20693.0)
Syntax
| C# |
|---|
protected virtual void CalculateBoundingBoxZoomExtents( CalculateBoundingBoxEventArgs e ) |
| Visual Basic |
|---|
Protected Overridable Sub CalculateBoundingBoxZoomExtents ( _ e As CalculateBoundingBoxEventArgs _ ) |
Parameters
- e
- Type: Rhino.Display..::..CalculateBoundingBoxEventArgs
The event argument contain the current bounding box state.