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.

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com