AGI STK VGT 11 Send comments on this topic.
CreateEastNorthUpCartographic Method (IAgCrdnSystemCommonTasks)
See Also  Example
Latitude
Specify a latitude of the system's origin.
Longitude
Specify a longitude of the system's origin.
Altitude
Specify an altitude of the system's origin.





Description

Creates a non-persistent East-North-Up (ENU) reference frame with the origin at the specified geodetic location.

Syntax

[Visual Basic .NET]
Public Function CreateEastNorthUpCartographic( _
   ByVal Latitude As System.Object, _
   ByVal Longitude As System.Object, _
   ByVal Altitude As Double _
) As IAgCrdnSystemAssembled

[C#]
public IAgCrdnSystemAssembled CreateEastNorthUpCartographic(
System.Object Latitude,
System.Object Longitude,
double Altitude
);

[Managed C++]
public: IAgCrdnSystemAssembled^ CreateEastNorthUpCartographic(
VARIANT Latitude,
VARIANT Longitude,
double Altitude
);

[Java]
public IAgCrdnSystemAssembled createEastNorthUpCartographic(
Variant Latitude,
Variant Longitude,
double Altitude
);

[Unmanaged C++]
public: HRESULT CreateEastNorthUpCartographic(
VARIANT Latitude,
VARIANT Longitude,
double Altitude,
IAgCrdnSystemAssembled ** ReturnValue
);

Parameters

Latitude
Specify a latitude of the system's origin.
Longitude
Specify a longitude of the system's origin.
Altitude
Specify an altitude of the system's origin.

Example

Creates a East-North-Up system at the specified geodetic location (using common tasks).
[C#] Copy Code
object lat = 0, lon = 0
double alt = 0
facility.Position.QueryPlanetodetic(out lat, out lon, out alt); 
IAgCrdnSystemAssembled systemAssembled = provider.Systems.CommonTasks.CreateEastNorthUpCartographic(lat, lon, alt); 
 

Creates a East-North-Up system at the specified geodetic location (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 systemAssembled As IAgCrdnSystemAssembled = provider.Systems.CommonTasks.CreateEastNorthUpCartographic(lat, lon, alt)

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1