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)
Since: 5.6
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 frustum 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.
See Also