STK Graphics PrimitivesSend comments on this topic.
ViewCentralBody Method (IAgStkGraphicsCamera)
See Also
CentralBody
The Central Body to be viewed.
Axes
The Axes of rotation. Axes will be set to this.
Windows





Windows & Linux

Description

Zoom to a central body and use the specified axes for rotation. The reference point is set to the center of the central body and the camera's position is set so the entire central body is visible.

Syntax

[Visual Basic .NET]
Public Sub ViewCentralBody( _
    ByVal CentralBody As String, _
    ByVal Axes As IAgCrdnAxes _
)
[C#]
public void ViewCentralBody(
    string CentralBody,
    IAgCrdnAxes Axes
);
[Managed C++]
public: void ViewCentralBody(
    String __gc ^ CentralBody,
    IAgCrdnAxes ^ Axes
);
[Unmanaged C++]
public: HRESULT ViewCentralBody(
    BSTR CentralBody,
    IAgCrdnAxes * Axes
);
[Java]
public void viewCentralBody(
    String CentralBody,
    IAgCrdnAxes Axes
);
[Python - STK API ]
def ViewCentralBody(self, CentralBody:str, Axes:"IAgCrdnAxes") -> None:

Parameters

CentralBody
The Central Body to be viewed.
Axes
The Axes of rotation. Axes will be set to this.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.