A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
anonymous_namespace{geographic-positions.cc} Namespace Reference

Variables

auto curvature = [](double e, double ph) { return sqrt(1 - e * e * sin(ph) * sin(ph)); }
 GRS80 and WGS84 sources.
 

Variable Documentation

◆ curvature

auto anonymous_namespace{geographic-positions.cc}::curvature = [](double e, double ph) { return sqrt(1 - e * e * sin(ph) * sin(ph)); }

GRS80 and WGS84 sources.

Moritz, H. "Geodetic Reference System 1980." GEODETIC REFERENCE SYSTEM 1980. https://web.archive.org/web/20170712034716/http://www.gfy.ku.dk/~iag/HB2000/part4/grs80_corr.htm.

"Department of Defense World Geodetic System 1984." National Imagery and Mapping Agency, 1 Jan. 2000. https://web.archive.org/web/20200730231853/http://earth-info.nga.mil/GandG/publications/tr8350.2/wgs84fin.pdf.

Lambda function for computing the curvature

Definition at line 34 of file geographic-positions.cc.