CameraViewExtent Method (CentralBody, Double, Double, Double, Double) |
Zooms to a rectangular extent composed of
west,
south,
east,
north on the
centralBody. The camera will be looking straight down at the extent, with the up vector pointing toward local north. The
Axes is set to an east-north-up axes at the center of the extent.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public void ViewExtent(
CentralBody centralBody,
double west,
double south,
double east,
double north
)
Public Sub ViewExtent (
centralBody As CentralBody,
west As Double,
south As Double,
east As Double,
north As Double
)
public:
void ViewExtent(
CentralBody^ centralBody,
double west,
double south,
double east,
double north
)
member ViewExtent :
centralBody : CentralBody *
west : float *
south : float *
east : float *
north : float -> unit
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
The CentralBody that the extent is on. - west
- Type: SystemDouble
The west longitude of the extent. - south
- Type: SystemDouble
The south latitude of the extent. - east
- Type: SystemDouble
The east longitude of the extent. - north
- Type: SystemDouble
The north latitude of the extent.
See Also