STK Vector Geometry ToolSend comments on this topic.
Earth Property (IAgCrdnWellKnownAxes)
See Also
Windows





Windows & Linux

Description

Earth's well-known axes.

Property type

Read-only property

Syntax

[Visual Basic .NET]
Public Property Earth() As IAgCrdnWellKnownEarthAxes
[C#]
public IAgCrdnWellKnownEarthAxes Earth {get;}
[Managed C++]
public: __property IAgCrdnWellKnownEarthAxes ^ get_Earth();
[Unmanaged C++]
public: HRESULT get_Earth(
    IAgCrdnWellKnownEarthAxes ** ppRetVal
);
[Java]
public IAgCrdnWellKnownEarthAxes getEarth();
[Python - STK API ]
@property
def Earth(self) -> "IAgCrdnWellKnownEarthAxes":

See Also

Example

Finds the axes' orientation in Earth's Fixed axes.
[C#]
IAgCrdnAxesFindInAxesResult result = axes.FindInAxes(0,
    provider.WellKnownAxes.Earth.Fixed);
if (result.IsValid)
{
    IAgOrientationEulerAngles angles = (IAgOrientationEulerAngles)result.Orientation.ConvertTo(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]
Dim result As IAgCrdnAxesFindInAxesResult = axes.FindInAxes(0, provider.WellKnownAxes.Earth.Fixed)
If result.IsValid Then
	Dim angles As IAgOrientationEulerAngles = DirectCast(result.Orientation.ConvertTo(AgEOrientationType.eEulerAngles), IAgOrientationEulerAngles)
	Console.WriteLine("Euler Angles [A,B,C,SEQ] => [{1}, {1}, {2}, {3}]", angles.A, angles.B, angles.C, angles.Sequence)
End If
© 2024 Analytical Graphics, Inc. All Rights Reserved.