conversions.h File Reference

Universal Transverse Mercator transforms. More...

#include <cmath>
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for conversions.h:

Go to the source code of this file.

Namespaces

namespace  gps_common

Functions

static void gps_common::LLtoUTM (const double Lat, const double Long, double &UTMNorthing, double &UTMEasting, std::string &UTMZone)
static void gps_common::LLtoUTM (const double Lat, const double Long, double &UTMNorthing, double &UTMEasting, char *UTMZone)
static void gps_common::UTM (double lat, double lon, double *x, double *y)
static char gps_common::UTMLetterDesignator (double Lat)
static void gps_common::UTMtoLL (const double UTMNorthing, const double UTMEasting, std::string UTMZone, double &Lat, double &Long)
static void gps_common::UTMtoLL (const double UTMNorthing, const double UTMEasting, const char *UTMZone, double &Lat, double &Long)

Variables

const double gps_common::DEGREES_PER_RADIAN = 180.0/M_PI
const double gps_common::RADIANS_PER_DEGREE = M_PI/180.0
const double gps_common::UTM_E2 = (WGS84_E*WGS84_E)
const double gps_common::UTM_E4 = (UTM_E2*UTM_E2)
const double gps_common::UTM_E6 = (UTM_E4*UTM_E2)
const double gps_common::UTM_EP2 = (UTM_E2/(1-UTM_E2))
const double gps_common::UTM_FE = 500000.0
const double gps_common::UTM_FN_N = 0.0
const double gps_common::UTM_FN_S = 10000000.0
const double gps_common::UTM_K0 = 0.9996
const double gps_common::WGS84_A = 6378137.0
const double gps_common::WGS84_B = 6356752.31424518
const double gps_common::WGS84_E = 0.0818191908
const double gps_common::WGS84_EP = 0.0820944379
const double gps_common::WGS84_F = 0.0033528107

Detailed Description

Universal Transverse Mercator transforms.

Functions to convert (spherical) latitude and longitude to and from (Euclidean) UTM coordinates.

Author:
Chuck Gantz- chuck.gantz@globalstar.com

Definition in file conversions.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerator


gps_common
Author(s): Maintained by Ken Tossell
autogenerated on Fri Jan 11 10:03:41 2013