Defines
WGS84 Parameters
Coordinate systems
Collaboration diagram for WGS84 Parameters:

Defines

#define WGS84_A   6378137.0
#define WGS84_B   (WGS84_A*(1-WGS84_F))
#define WGS84_E   (sqrt(2*WGS84_F - WGS84_F*WGS84_F))
#define WGS84_F   (1/WGS84_IF)
#define WGS84_IF   298.257223563

Detailed Description

Parameters defining the WGS84 ellipsoid. The ellipsoid is defined in terms of the semi-major axis and the inverse flattening. We also calculate some derived parameters which are useful for the implementation of the coordinate transform functions.


Define Documentation

#define WGS84_A   6378137.0

Semi-major axis of the Earth, $ a $, in meters. This is a defining parameter of the WGS84 ellipsoid.

Definition at line 27 of file coord_system.h.

#define WGS84_B   (WGS84_A*(1-WGS84_F))

Semi-minor axis of the Earth in meters, $ b = a(1-f) $.

Definition at line 34 of file coord_system.h.

#define WGS84_E   (sqrt(2*WGS84_F - WGS84_F*WGS84_F))

Eccentricity of the Earth, $ e $ where $ e^2 = 2f - f^2 $

Definition at line 36 of file coord_system.h.

#define WGS84_F   (1/WGS84_IF)

The flattening of the Earth, $ f $.

Definition at line 32 of file coord_system.h.

#define WGS84_IF   298.257223563

Inverse flattening of the Earth, $ 1/f $. This is a defining parameter of the WGS84 ellipsoid.

Definition at line 30 of file coord_system.h.



enu
Author(s): Mike Purvis
autogenerated on Fri Jan 3 2014 11:21:07