STK Graphics PrimitivesSend comments on this topic.
ViewRectangularExtent Method (IAgStkGraphicsCamera)
See Also
CentralBody
The Central Body that the extent is on.
West
The west longitude of the extent.
South
The south latitude of the extent.
East
The east longitude of the extent.
North
The north latitude of the extent.
Windows





Windows & Linux

Description

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.

Syntax

[Visual Basic .NET]
Public Sub ViewRectangularExtent( _
    ByVal CentralBody As String, _
    ByVal West As Double, _
    ByVal South As Double, _
    ByVal East As Double, _
    ByVal North As Double _
)
[C#]
public void ViewRectangularExtent(
    string CentralBody,
    double West,
    double South,
    double East,
    double North
);
[Managed C++]
public: void ViewRectangularExtent(
    String __gc ^ CentralBody,
    double West,
    double South,
    double East,
    double North
);
[Unmanaged C++]
public: HRESULT ViewRectangularExtent(
    BSTR CentralBody,
    double West,
    double South,
    double East,
    double North
);
[Java]
public void viewRectangularExtent(
    String CentralBody,
    double West,
    double South,
    double East,
    double North
);
[Python - STK API ]
def ViewRectangularExtent(self, CentralBody:str, West:float, South:float, East:float, North:float) -> None:

Parameters

CentralBody
The Central Body that the extent is on.
West
The west longitude of the extent.
South
The south latitude of the extent.
East
The east longitude of the extent.
North
The north latitude of the extent.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.