STK UtilSend 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 AssignAssign a new coordinate type.
Public Method AssignCartesianHelper method to assign a new orbit state using Cartesian representation
Public Method AssignClassicalHelper method to assign a new orbit state using Classical representation
Public Method AssignEquinoctialPosigradeHelper method to assign a new orbit state using Equinoctial representation
Public Method AssignEquinoctialRetrogradeHelper method to assign a new orbit state using Equinoctial representation
Public Method AssignGeodeticHelper method to assign a new orbit state using Geodetic representation
Public Method AssignMixedSphericalHelper method to assign a new orbit state using Mixed Spherical representation
Public Method AssignSphericalHelper method to assign a new orbit state using Spherical representation
Public Method ConvertToMethod to changes the coordinate type to the type specified.

Public Properties

Public Property CentralBodyNameGets the central body.
Public Property EpochThe state epoch
Public Property OrbitStateTypeReturns the coordinate type currently being used.

Remarks


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

CoClasses that Implement IAgOrbitState

Example

Extends orbit state to another representation or coordinate system X
[C#]
// 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, 12000000, 0, 1.8, 0, -1.8, 0);               
Extends orbit state to another representation or coordinate system X
[Visual Basic .NET]
' 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)
© 2024 Analytical Graphics, Inc. All Rights Reserved.