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

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{geographic-positions.cc}
 
namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Variables

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