Universal Transverse Mercator transforms. Functions to convert (spherical) latitude and longitude to and from (Euclidean) UTM coordinates.
More...
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <string>
Go to the source code of this file.
|
| mrs_lib |
| All mrs_lib functions, classes, variables and definitions are contained in this namespace.
|
|
|
const double | mrs_lib::RADIANS_PER_DEGREE = M_PI / 180.0 |
|
const double | mrs_lib::DEGREES_PER_RADIAN = 180.0 / M_PI |
|
const double | mrs_lib::WGS84_A = 6378137.0 |
|
const double | mrs_lib::WGS84_B = 6356752.31424518 |
|
const double | mrs_lib::WGS84_F = 0.0033528107 |
|
const double | mrs_lib::WGS84_E = 0.0818191908 |
|
const double | mrs_lib::WGS84_EP = 0.0820944379 |
|
const double | mrs_lib::UTM_K0 = 0.9996 |
|
const double | mrs_lib::UTM_FE = 500000.0 |
|
const double | mrs_lib::UTM_FN_N = 0.0 |
|
const double | mrs_lib::UTM_FN_S = 10000000.0 |
|
const double | mrs_lib::UTM_E2 = (WGS84_E * WGS84_E) |
|
const double | mrs_lib::UTM_E4 = (UTM_E2 * UTM_E2) |
|
const double | mrs_lib::UTM_E6 = (UTM_E4 * UTM_E2) |
|
const double | mrs_lib::UTM_EP2 = (UTM_E2 / (1 - UTM_E2)) |
|
Universal Transverse Mercator transforms. Functions to convert (spherical) latitude and longitude to and from (Euclidean) UTM coordinates.
- Author
- Chuck Gantz- chuck.nosp@m..gan.nosp@m.tz@gl.nosp@m.obal.nosp@m.star..nosp@m.com