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





Description

The interface defines methods and properties common to all axes.

Object Model









Public Methods

Public Method FindInAxes Find an orientation in the specified axes.
Public Method FindInAxesWithRate Find an angular velocity and orientation in the specified axes.
Public Method Transform Transforms the input vector from this axes into the output axes.
Public Method TransformWithRate Transforms the input vector and vector's rate from this axes into the output axes.

Public Properties

Public Property Labels Returns an object that allows modifying the axes labels.
Public Property Type Returns a type of the axes object.
Public Property X Returns the X axis of the component.
Public Property Y Returns the Y axis of the component.
Public Property Z Returns 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

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1