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






Windows & Linux

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
MemberValueDescription
eDirEuler0Euler B and C angles.
eDirPR1Pitch and Roll angles.
eDirRADec2Spherical elements: Right Ascension and Declination.
eDirXYZ3Cartesian 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

© 2018 Analytical Graphics, Inc. All Rights Reserved.