STK UtilSend comments on this topic.
ConvertTo Method (IAgOrbitState)
See Also
Type
Windows





Windows & Linux

Description

Changes the coordinate type to the type specified.

Syntax

[Visual Basic .NET]
Public Function ConvertTo( _
    ByVal Type As AgEOrbitStateType _
) As IAgOrbitState
[C#]
public IAgOrbitState ConvertTo(
    AgEOrbitStateType Type
);
[Managed C++]
public: IAgOrbitState^ ConvertTo(
    AgEOrbitStateType Type
);
[Unmanaged C++]
public: HRESULT ConvertTo(
    AgEOrbitStateType Type,
    IAgOrbitState ** ppIAgOrbitState
);
[Java]
public IAgOrbitState convertTo(
    AgEOrbitStateType Type
);
[Python - STK API ]
def ConvertTo(self, Type:"AgEOrbitStateType") -> "IAgOrbitState":

Parameters

Type

See Also

Example

Convert an orbit state to another representation or coordinate system X
[C#]
IAgOrbitStateClassical newOrbit = orbit.ConvertTo(AgEOrbitStateType.eOrbitStateClassical) as IAgOrbitStateClassical;
Convert an orbit state to another representation or coordinate system X
[Visual Basic .NET]
Dim newOrbit As IAgOrbitStateClassical = TryCast(orbit.ConvertTo(AgEOrbitStateType.eOrbitStateClassical), IAgOrbitStateClassical)
© 2024 Analytical Graphics, Inc. All Rights Reserved.