AGI STK Util 11 Send comments on this topic.
IAgOrbitState Interface





Description

Interface to set and retrieve the coordinate type used to specify the orbit state.

Public Methods

Public Method Assign Assign a new coordinate type.
Public Method AssignCartesian Helper method to assign a new orbit state using Cartesian representation
Public Method AssignClassical Helper method to assign a new orbit state using Classical representation
Public Method AssignEquinoctialPosigrade Helper method to assign a new orbit state using Equinoctial representation
Public Method AssignEquinoctialRetrograde Helper method to assign a new orbit state using Equinoctial representation
Public Method AssignGeodetic Helper method to assign a new orbit state using Geodetic representation
Public Method AssignMixedSpherical Helper method to assign a new orbit state using Mixed Spherical representation
Public Method AssignSpherical Helper method to assign a new orbit state using Spherical representation
Public Method ConvertTo Method to changes the coordinate type to the type specified.

Public Properties

Public Property CentralBodyName Gets the central body.
Public Property Epoch The state epoch
Public Property OrbitStateType Returns the coordinate type currently being used.

Remarks

The Assign/Query methods do not support HMS, DMS, DMS_Lat or DMS_Lon values.

Example

Extends orbit state to another representation or coordinate system X
[C#] Copy Code
// orbitState can be extended to one of the other representations. 
// Here it is extended to Classical representation. 
IAgOrbitStateClassical newOrbitState = orbitState.ConvertTo(AgEOrbitStateType.eOrbitStateClassical) as IAgOrbitStateClassical; 
 
// Set the new orbit state parameters 
newOrbitState.AssignClassical(AgECoordinateSystem.eCoordinateSystemICRF, 1200000001.80, -1.80); 
 

Extends orbit state to another representation or coordinate system X
[Visual Basic .NET] Copy Code
' orbitState can be extended to one of the other representations.
' Here it is extended to Classical representation.
Dim newOrbitState As IAgOrbitStateClassical = TryCast(orbitState.ConvertTo(AgEOrbitStateType.eOrbitStateClassical), IAgOrbitStateClassical)

' Set the new orbit state parameters
newOrbitState.AssignClassical(AgECoordinateSystem.eCoordinateSystemICRF, 12000000, 0, 1.8, 0, -1.8, _
    0)

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1