Description
Interface to set and retrieve the coordinate type used to specify the orbit state.
Public Methods
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)
|
|