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






Windows & Linux

Description

Method to change the orientation method to the type specified.

Syntax

[Visual Basic .NET]
Public Function ConvertTo( _
   ByVal Type As AgEOrientationType _
) As IAgOrientation
[C#]
public IAgOrientation ConvertTo(
   AgEOrientationType Type
);
[Managed C++]
public: IAgOrientation^ ConvertTo(
   AgEOrientationType Type
);
[Java]
public IAgOrientation convertTo(
   AgEOrientationType Type
);
[Unmanaged C++]
public: HRESULT ConvertTo(
   AgEOrientationType Type,
   IAgOrientation ** ReturnValue
);

Parameters

Type
MemberValueDescription
eAzEl0AzEl (azimuth-elevation) method.
eEulerAngles1Euler angles method.
eQuaternion2Quaternion method.
eYPRAngles3YPR (yaw-pitch-roll) method.

Return Type

IAgOrientation type.

Remarks

Converts to the specified enum and returns the IAgOrientation type. i.e ConvertTo(eAzEl) returns an IAgOrientationAzEl interface.

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.