$search

UTM Namespace Reference

Functions

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

Variables

const double grid_size = 100000.0

Function Documentation

static void UTM::LLtoUTM ( const double  Lat,
const double  Long,
double &  UTMNorthing,
double &  UTMEasting,
char *  UTMZone 
) [inline, static]

Convert lat/long to UTM coords. Equations from USGS Bulletin 1532

East Longitudes are positive, West longitudes are negative. North latitudes are positive, South latitudes are negative Lat and Long are in fractional degrees

Written by Chuck Gantz- chuck.gantz@globalstar.com

Definition at line 152 of file UTM.h.

static void UTM::UTM ( double  lat,
double  lon,
double *  x,
double *  y 
) [inline, static]

Utility function to convert geodetic to UTM position

Units in are floating point degrees (sign for east/west)

Units out are meters

Todo:
deprecate this interface in favor of LLtoUTM()

Definition at line 61 of file UTM.h.

static char UTM::UTMLetterDesignator ( double  Lat  )  [inline, static]

Determine the correct UTM letter designator for the given latitude

Returns:
'Z' if latitude is outside the UTM limits of 84N to 80S

Written by Chuck Gantz- chuck.gantz@globalstar.com

Definition at line 114 of file UTM.h.

static void UTM::UTMtoLL ( const double  UTMNorthing,
const double  UTMEasting,
const char *  UTMZone,
double &  Lat,
double &  Long 
) [inline, static]

Converts UTM coords to lat/long. Equations from USGS Bulletin 1532

East Longitudes are positive, West longitudes are negative. North latitudes are positive, South latitudes are negative Lat and Long are in fractional degrees.

Written by Chuck Gantz- chuck.gantz@globalstar.com

Definition at line 233 of file UTM.h.


Variable Documentation

const double UTM::grid_size = 100000.0

Definition at line 33 of file UTM.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


art_common
Author(s): Austin Robot Technology
autogenerated on Fri Mar 1 14:12:15 2013