Ets_Nt_Coord_Lat_Long_To_Subnet_Convert()

Note: Requires OPNET Development Kit

Abstract

Converts the coordinates of a location in the world coordinate system to the local coordinate system of a specified subnet.

Syntax

Ets_Nt_Coord_Lat_Long_To_Subnet_Convert (subnet_hndl, latitude, longitude, global_altitude, x_ptr, y_ptr, local_altitude_ptr)
Argument Type Description
subnet_hndl EtsT_Obj_Handle Subnet of interest
latitude double Latitude of location to convert
longitude double Longitude of location to convert
global_altitude double Altitude of location to convert
x_ptr double * Location to be filled with the x-position in subnet coordinates
y_ptr double * Location to be filled with the y-position in subnet coordinates
local_altitude_ptr double * Location to be filled with the altitude in subnet 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