Description
Interface to set and retrieve the coordinate type used to specify the orbit state.
Public Methods
Assign | Assign a new coordinate type. |
AssignCartesian | Helper method to assign a new orbit state using Cartesian representation |
AssignClassical | Helper method to assign a new orbit state using Classical representation |
AssignEquinoctialPosigrade | Helper method to assign a new orbit state using Equinoctial representation |
AssignEquinoctialRetrograde | Helper method to assign a new orbit state using Equinoctial representation |
AssignGeodetic | Helper method to assign a new orbit state using Geodetic representation |
AssignMixedSpherical | Helper method to assign a new orbit state using Mixed Spherical representation |
AssignSpherical | Helper method to assign a new orbit state using Spherical representation |
ConvertTo | Method to changes the coordinate type to the type specified. |
Public Properties
Remarks
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)
|
|