Skip to content

Class ennui::geodetic::Wgs84

ClassList > ennui > geodetic > Wgs84

World geodetic system 1984 constants. More...

  • #include <wgs84.hpp>

Public Static Attributes

Type Name
constexpr auto EARTH_DYNAMICAL_J2 = 1.082629821313e-3
Earth dynamical form factor f\(J\_2f\).
constexpr auto EARTH_GRAVITATIONAL_FIELD = 3.986004418e14
Earth gravitational field constant \(GM\) in \(m^3/sec^2\).
constexpr auto EARTH_INVERSE_FLATTENING = 298.257223563
Earth flattening factor \(1/f\).
constexpr auto EARTH_ROTATION_RATE = 7.2921151467e-5
Mean angular velocity of the Earth (omega) in rads/s.
constexpr auto EARTH_SEMIMAJOR_AXIS = 6378137.0
Semi-major axis \(a\) in \(m\).
constexpr auto EARTH_SEMIMINOR_AXIS = /* multi line expression */
Semi-mminor axis \(b\) in \(m\).
constexpr auto SPEED_OF_LIGHT = 299792458.0
Velocity of light \(c\) in \(m/s\).

Detailed Description

Collection of constants generally considered WGS 84. Slight discrepancies exists between authors (e.g. level of precision). We use NGA Standard 0036 NGA-STND-0036.

Public Static Attributes Documentation

variable EARTH_DYNAMICAL_J2

Earth dynamical form factor f\(J\_2f\).

constexpr auto ennui::geodetic::Wgs84::EARTH_DYNAMICAL_J2;

Derived parameter. See Appendix B. Section 3.17 NGA-STND-0036


variable EARTH_GRAVITATIONAL_FIELD

Earth gravitational field constant \(GM\) in \(m^3/sec^2\).

constexpr auto ennui::geodetic::Wgs84::EARTH_GRAVITATIONAL_FIELD;

WGS84 defining parameter. See Section 3.4.3 NGA-STND-0036.


variable EARTH_INVERSE_FLATTENING

Earth flattening factor \(1/f\).

constexpr auto ennui::geodetic::Wgs84::EARTH_INVERSE_FLATTENING;

WGS 84 defining parameter. See Section 3.4.2 NGA-STND-0036.


variable EARTH_ROTATION_RATE

Mean angular velocity of the Earth (omega) in rads/s.

constexpr auto ennui::geodetic::Wgs84::EARTH_ROTATION_RATE;

WGS84 defining parameter (Section 3.4.4 NGA-STND-0036), but with increased precision. See Section 3.7.2 NGA-STND-0036. Note, additional precision attributed as the Inertnational Astronomical Union (IAU) or GRS 67 version and not original to WGS84.


variable EARTH_SEMIMAJOR_AXIS

Semi-major axis \(a\) in \(m\).

constexpr auto ennui::geodetic::Wgs84::EARTH_SEMIMAJOR_AXIS;

WGS 84 defining parameter. See Section 3.4.1 NGA-STND-0036.


variable EARTH_SEMIMINOR_AXIS

Semi-mminor axis \(b\) in \(m\).

constexpr auto ennui::geodetic::Wgs84::EARTH_SEMIMINOR_AXIS;

Derived parameter \(b = a(1-f)\). See Appendix B. Section 3.2 NGA-STND-0036


variable SPEED_OF_LIGHT

Velocity of light \(c\) in \(m/s\).

constexpr auto ennui::geodetic::Wgs84::SPEED_OF_LIGHT;

Fundamental constant. See Section 3.6.1 NGA-STND-0036



The documentation for this class was generated from the following file Ennui/geodetic/wgs84.hpp