AGI STK Graphics 11 Send 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.





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
);

[Java]
public  viewCentralBody(
String CentralBody,
IAgCrdnAxes Axes
);

[Unmanaged C++]
public: HRESULT ViewCentralBody(
BSTR CentralBody,
IAgCrdnAxes * Axes
);

Parameters

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

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1