Click or drag to resize

ViewportInfoDollyExtents Method (BoundingBox, Double)

Dolly the camera location and so that the view frustum contains all of the document objects that can be seen in view. If the projection is perspective, the camera angle is not changed.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
public bool DollyExtents(
	BoundingBox cameraCoordinateBoundingBox,
	double border


Type: Rhino.GeometryBoundingBox

[Missing <param name="cameraCoordinateBoundingBox"/> documentation for "M:Rhino.DocObjects.ViewportInfo.DollyExtents(Rhino.Geometry.BoundingBox,System.Double)"]

Type: SystemDouble
If border > 1.0, then the fustum in enlarged by this factor to provide a border around the view. 1.1 works well for parallel projections; 0.0 is suggested for perspective projections.

Return Value

Type: Boolean
True if successful.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also