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





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
Member Value Description
eAzEl 0 AzEl (azimuth-elevation) method.
eEulerAngles 1 Euler angles method.
eQuaternion 2 Quaternion method.
eYPRAngles 3 YPR (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

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1