Click or drag to resize

ViewportInfoExtents Method (Double, Sphere)

Extends this viewport view to include a sphere.

Use Extents() as a quick way to set a viewport to so that bounding volume is inside of a viewports frustrum. The view angle is used to determine the position of the camera.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool Extents(
	double halfViewAngleRadians,
	Sphere sphere
)

Parameters

halfViewAngleRadians
Type: SystemDouble
1/2 smallest subtended view angle in radians.
sphere
Type: Rhino.GeometrySphere
A sphere in 3d world coordinates.

Return Value

Type: Boolean
true if the operation succeeded; otherwise, false.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also