AGI STK VGT 11Send comments on this topic.
CreateTopocentricAxesEulerAngles Method (IAgCrdnAxesCommonTasks)
See Also  Example
OriginPoint
Specify an origin point of the axes on the surface of a central body.
Sequence
Specify a sequence of rotation.
A
Specify an A angle.
B
Specify a B angle.
C
Specify a C angle.
Windows






Windows & Linux

Description

Creates non-persistent axes fixed in axes on the surface of a central body with the location specified by the origin point. The euler angles define the axes's orientation.

Syntax

[Visual Basic .NET]
Public Function CreateTopocentricAxesEulerAngles( _
   ByVal OriginPoint As IAgCrdnPoint, _
   ByVal Sequence As AgEEulerOrientationSequence, _
   ByVal A As System.Object, _
   ByVal B As System.Object, _
   ByVal C As System.Object _
) As IAgCrdnAxesFixed
[C#]
public IAgCrdnAxesFixed CreateTopocentricAxesEulerAngles(
   IAgCrdnPoint OriginPoint,
   AgEEulerOrientationSequence Sequence,
   System.Object A,
   System.Object B,
   System.Object C
);
[Managed C++]
public: IAgCrdnAxesFixed^ CreateTopocentricAxesEulerAngles(
   IAgCrdnPoint ^ OriginPoint,
   AgEEulerOrientationSequence Sequence,
   VARIANT A,
   VARIANT B,
   VARIANT C
);
[Java]
public IAgCrdnAxesFixed createTopocentricAxesEulerAngles(
   IAgCrdnPoint OriginPoint,
   AgEEulerOrientationSequence Sequence,
   Variant A,
   Variant B,
   Variant C
);
[Unmanaged C++]
public: HRESULT CreateTopocentricAxesEulerAngles(
   IAgCrdnPoint * OriginPoint,
   AgEEulerOrientationSequence Sequence,
   VARIANT A,
   VARIANT B,
   VARIANT C,
   IAgCrdnAxesFixed ** ReturnValue
);

Parameters

OriginPoint
Specify an origin point of the axes on the surface of a central body.
Sequence
Specify a sequence of rotation.
A
Specify an A angle.
B
Specify a B angle.
C
Specify a C angle.

Example

Creates a fixed axes based on the origin point with Euler Angles orientation (using common tasks).
[C#]Copy Code
object lat = 0, lon = 0
double alt = 0
 
facility.Position.QueryPlanetodetic(out lat, out lon, out alt); 
IAgCrdnPointFixedInSystem origin = provider.Points.CommonTasks.CreateFixedInSystemCartographic(provider.Systems["Fixed"], lat, lon, alt); 
IAgCrdnAxesFixed eastNorthUp = provider.Axes.CommonTasks.CreateTopocentricAxesEulerAngles((IAgCrdnPoint)origin, AGI.STKUtil.AgEEulerOrientationSequence.e321, 90.00.00.0); 
 

Creates a fixed axes based on the origin point with Euler Angles orientation (using common tasks).
[Visual Basic .NET]Copy Code
Dim lat As Object = 0, lon As Object = 0
Dim alt As Double = 0

facility.Position.QueryPlanetodetic(lat, lon, alt)
Dim origin As IAgCrdnPointFixedInSystem = provider.Points.CommonTasks.CreateFixedInSystemCartographic(provider.Systems("Fixed"), lat, lon, alt)
Dim eastNorthUp As IAgCrdnAxesFixed = provider.Axes.CommonTasks.CreateTopocentricAxesEulerAngles(DirectCast(origin, IAgCrdnPoint), AGI.STKUtil.AgEEulerOrientationSequence.e321, 90, 0, 0)

See Also

© 2019 Analytical Graphics, Inc. All Rights Reserved.