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 |
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
static void UTM::UTM | ( | double | lat, |
double | lon, | ||
double * | x, | ||
double * | y | ||
) | [inline, static] |
static char UTM::UTMLetterDesignator | ( | double | Lat | ) | [inline, static] |
Determine the correct UTM letter designator for the given latitude
Written by Chuck Gantz- chuck.gantz@globalstar.com
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
const double UTM::grid_size = 100000.0 |