Description
Creates non-persistent axes fixed in axes on
the surface of a central body with the location specified by the
origin point. The quaternion defines the axes's orientation.
Syntax
Parameters
Example
Creates a fixed axes
based on the origin point with Quaternion 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.CreateTopocentricAxesQuaternion((IAgCrdnPoint)origin, 0.0, 0.0, 0.0, 1.0);
|
|
Creates a fixed axes
based on the origin point with Quaternion orientation (using common
tasks).
[Visual Basic .NET] |
Copy Code
|
Dim lat As
Object = 0, lon As Object = 0
Dim alt As Double = 0
#If Not CSToJava Then
facility.Position.QueryPlanetodetic(lat, lon, alt)
#Else
#End If
Dim origin As IAgCrdnPointFixedInSystem =
provider.Points.CommonTasks.CreateFixedInSystemCartographic(provider.Systems("Fixed"),
lat, lon, alt)
Dim eastNorthUp As IAgCrdnAxesFixed =
provider.Axes.CommonTasks.CreateTopocentricAxesQuaternion(DirectCast(origin,
IAgCrdnPoint), 0, 0, 0, 1)
|
|
See Also