AGI STK VGT 11 Send comments on this topic.
IAgCrdnAxes Interface
Windows






Windows & Linux

Description

The interface defines methods and properties common to all axes.

Object Model









Public Methods

Public Method FindInAxesFind an orientation in the specified axes.
Public Method FindInAxesWithRateFind an angular velocity and orientation in the specified axes.
Public Method TransformTransforms the input vector from this axes into the output axes.
Public Method TransformWithRateTransforms the input vector and vector's rate from this axes into the output axes.

Public Properties

Public Property LabelsReturns an object that allows modifying the axes labels.
Public Property TypeReturns a type of the axes object.
Public Property XReturns the X axis of the component.
Public Property YReturns the Y axis of the component.
Public Property ZReturns the Z axis of the component.

Example

Finds the axes' orientation in Earth's Fixed axes.
[C#]Copy Code
IAgCrdnAxesFindInAxesResult result = axes.FindInAxes(0
    provider.WellKnownAxes.Earth.Fixed); 
if (result.IsValid) 

    AGI.STKUtil.IAgOrientationEulerAngles angles; 
    angles = (AGI.STKUtil.IAgOrientationEulerAngles)result.Orientation.ConvertTo(AGI.STKUtil.AgEOrientationType.eEulerAngles); 
    Console.WriteLine("Euler Angles [A,B,C,SEQ] => [{1}, {1}, {2}, {3}]", angles.A, angles.B, angles.C, angles.Sequence); 

 

Finds the axes' orientation in Earth's Fixed axes.
[Visual Basic .NET]Copy Code
Dim result As IAgCrdnAxesFindInAxesResult = axes.FindInAxes(0, provider.WellKnownAxes.Earth.Fixed)
If result.IsValid Then
    Dim angles As AGI.STKUtil.IAgOrientationEulerAngles
    angles = DirectCast(result.Orientation.ConvertTo(AGI.STKUtil.AgEOrientationType.eEulerAngles), AGI.STKUtil.IAgOrientationEulerAngles)
    Console.WriteLine("Euler Angles [A,B,C,SEQ] => [{1}, {1}, {2}, {3}]", angles.A, angles.B, angles.C, angles.Sequence)
End If

CoClasses that Implement IAgCrdnAxes

© 2018 Analytical Graphics, Inc. All Rights Reserved.