A Discrete-Event Network Simulator
API
Namespaces | Variables
geographic-positions.cc File Reference
#include <ns3/log.h>
#include <cmath>
#include "geographic-positions.h"

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 const double ns3::EARTH_GRS80_ECCENTRICITY = 0.0818191910428158
 Earth's first eccentricity as defined by GRS80. More...
 
static const double ns3::EARTH_RADIUS = 6371e3
 Earth's radius in meters if modeled as a perfect sphere. More...
 
static const double ns3::EARTH_SEMIMAJOR_AXIS = 6378137
 GRS80 and WGS84 sources. More...
 
static const double ns3::EARTH_WGS84_ECCENTRICITY = 0.0818191908426215
 Earth's first eccentricity as defined by WGS84. More...