Ets_Nt_Coord_Subnet_To_Lat_Long_Convert()
Note: Requires OPNET Development Kit
Abstract
Converts the coordinates of a location in a subnet coordinate system to the world coordinate system.
Syntax
Ets_Nt_Coord_Subnet_To_Lat_Long_Convert (subnet_hndl, x, y, local_altitude, latitude_ptr, longitude_ptr, global_altitude_ptr)
| Argument | Type | Description |
|---|---|---|
subnet_hndl |
EtsT_Obj_Handle |
Subnet of interest |
x |
double |
X-position of location to convert |
y |
double |
Y-position of location to convert |
local_altitude |
double |
Altitude of location to convert |
latitude_ptr |
double * |
Location to be filled with the latitude in world coordinates |
longitude_ptr |
double * |
Location to be filled with the longitude in world coordinates |
global_altitude_ptr |
double * |
Location to be filled with the altitude in world coordinates |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if the conversion is successful; EtsC_Compcode_Failure otherwise.
Header
ets_api_nt.h
Details
The global altitude is in meters. The local altitude is in the subnet units, or meters if the subnet units are degrees or arc-seconds.