#include <utm.h>
Public Member Functions | |
UTM (const string &ell_name) | |
constructor with ellipsoid name | |
const char * | map_name () const |
get map projection name | |
int | zone (double l0) const |
calculate zone number | |
double | lambda0 (int nz) const |
calculate reference meridian | |
conversion routines | |
Conversion between geodetic (b,l) and UTM (E,N) coordinates. | |
void | geo_to_map (double b, double l, double &e, double &n) const |
convert geodetic into map coordinates | |
void | map_to_geo (double e, double n, double &b, double &l) const |
convert map into geodetic coordinates |
Universal Transverse Mercator (UTM) coordinates are Gausssche isotherm coordinates.
References:
GCL::UTM::UTM | ( | const string & | ell_name | ) | [inline] |
constructor with ellipsoid name
ell_name | name of the reference ellipsoid |
void GCL::UTM::geo_to_map | ( | double | b, | |
double | l, | |||
double & | e, | |||
double & | n | |||
) | const [virtual] |
convert geodetic into map coordinates
[in] | b,l | geodetic coordinates: latitude and longitude |
[out] | e,n | map coordinates: East (E) and North (N) |
Reimplemented from GCL::GIC.
References GCL::GIC::geo_to_iso().
void GCL::UTM::map_to_geo | ( | double | e, | |
double | n, | |||
double & | b, | |||
double & | l | |||
) | const [virtual] |
convert map into geodetic coordinates
[in] | e,n | map coordinates: East (E) and North (N) |
[out] | b,l | geodetic coordinates: latitude and longitude |
Reimplemented from GCL::GIC.
References GCL::GIC::iso_to_geo().