A Discrete-Event Network Simulator
API
geographic-positions.cc File Reference
#include "geographic-positions.h"
#include <ns3/log.h>
#include <cmath>
+ Include dependency graph for geographic-positions.cc:

Go to the source code of this file.

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Variables

static constexpr double ns3::DEG2RAD = M_PI / 180.0
 Conversion factor: degrees to radians. More...
 
static constexpr double ns3::EARTH_GRS80_ECCENTRICITY = 0.0818191910428158
 Earth's first eccentricity as defined by GRS80. More...
 
static constexpr double ns3::EARTH_RADIUS = 6371e3
 Earth's radius in meters if modeled as a perfect sphere. More...
 
static constexpr double ns3::EARTH_SEMIMAJOR_AXIS = 6378137
 GRS80 and WGS84 sources. More...
 
static constexpr double ns3::EARTH_WGS84_ECCENTRICITY = 0.0818191908426215
 Earth's first eccentricity as defined by WGS84. More...
 
static constexpr double ns3::RAD2DEG = 180.0 * M_1_PI
 Conversion factor: radians to degrees. More...