Ets_Nt_Site_Lat_Long_Get()

Note: Requires OPNET Development Kit

Abstract

Returns the latitude and longitude of a specified site.

Syntax

Ets_Nt_Site_Lat_Long_Get (obj_hndl, latitude_ptr, longitude_ptr)
Argument Type Description
obj_hndl EtsT_Obj_Handle Handle to the site.
latitude_ptr double * Pointer to a buffer to be filled with the latitude of the site, in degrees.
longitude_ptr double * Pointer to a buffer to be filled with the longitude of the site, in degrees.

Return Type

EtsT_Compcode

EtsC_Compcode_Failure if the specified object is not a site; EtsC_Compcode_Success otherwise.

ets_api_nt.h

Details

This function returns the absolute latitude and longitude of the specified site regardless of the units of its parent subnet. If the specified site is not the top subnet, the function finds the top subnet and converts the specified site’s position to the top subnet’s coordinates, which must be in degrees.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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