prg_geo_geoxyz_to_lat_long_alt()

Abstract

Converts a 3-D position from geocentric to geodetic coordinates.

Syntax

prg_geo_geoxyz_to_lat_long_alt (x, y, z, lat_ptr, lon_ptr, alt_ptr)
Argument Type Description
x double X coordinate, in meters.
y double Y coordinate, in meters.
z double Z coordinate, in meters.
lat_ptr double * Pointer to latitude.
lon_ptr double * Pointer to longitude.
alt_ptr double * Pointer to altitude.

Return Type

void

No return value.

prg_geo.h

Details

X, y, and z are measured from the center of the earth, in the coordinate system specified by the “geocentric_model“ preference (right sphere, left sphere, or ellipsoid).

Latitude and longitude are returned in degrees. Altitude is in meters above the earth's surface (using the current geocentric model).

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