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
Syntax public bool DollyExtents(
BoundingBox cameraCoordinateBoundingBox,
double border
)
Public Function DollyExtents (
cameraCoordinateBoundingBox As BoundingBox,
border As Double
) As Boolean
Parameters
- cameraCoordinateBoundingBox
- Type: Rhino.GeometryBoundingBox
[Missing <param name="cameraCoordinateBoundingBox"/> documentation for "M:Rhino.DocObjects.ViewportInfo.DollyExtents(Rhino.Geometry.BoundingBox,System.Double)"]
- border
- 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:
BooleanTrue if successful.
See Also