AGI STK Util 11 Send comments on this topic.
ConvertTo Method (IAgDirection)
See Also 
Type





Description

Method to changes the direction to the type specified.

Syntax

[Visual Basic .NET]
Public Function ConvertTo( _
   ByVal Type As AgEDirectionType _
) As IAgDirection

[C#]
public IAgDirection ConvertTo(
AgEDirectionType Type
);

[Managed C++]
public: IAgDirection^ ConvertTo(
AgEDirectionType Type
);

[Java]
public IAgDirection convertTo(
AgEDirectionType Type
);

[Unmanaged C++]
public: HRESULT ConvertTo(
AgEDirectionType Type,
IAgDirection ** ReturnValue
);

Parameters

Type
Member Value Description
eDirEuler 0 Euler B and C angles.
eDirPR 1 Pitch and Roll angles.
eDirRADec 2 Spherical elements: Right Ascension and Declination.
eDirXYZ 3 Cartesian elements.

Return Type

IAgDirection type.

Remarks

Converts to the specified enumeration type. i.e. eDirEuler converts to Euler direction and returns an IAgDirectionEuler interface.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1