AGI STK VGT 11Send 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.
Windows






Windows & Linux

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
facility.Position.QueryPlanetodetic(lat, lon, alt)
Dim systemAssembled As IAgCrdnSystemAssembled = provider.Systems.CommonTasks.CreateEastNorthUpCartographic(lat, lon, alt)

See Also

© 2019 Analytical Graphics, Inc. All Rights Reserved.