#include <gkk.h>
Public Member Functions | |
GKK (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 (Kennziffer) | |
double | lambda0 (int kz) const |
calculate reference meridian | |
conversion routines | |
Conversion between geodetic (b,l) and Gauss-Krueger (R,H) coordinates. Attention: The zone number (Kennziffer) is part of the Rechtswert. | |
void | geo_to_map (double b, double l, double &r, double &h) const |
convert geodetic into map coordinates | |
void | map_to_geo (double r, double h, double &b, double &l) const |
convert map into geodetic coordinates |
Gauss-Krueger coordinates are Gausssche isotherm coordinates. The reference ellipsoid is often Bessel 1841.
References:
GCL::GKK::GKK | ( | const string & | ell_name | ) | [inline] |
constructor with ellipsoid name
ell_name | name of the reference ellipsoid |
void GCL::GKK::geo_to_map | ( | double | b, | |
double | l, | |||
double & | r, | |||
double & | h | |||
) | const [virtual] |
convert geodetic into map coordinates
[in] | b,l | geodetic coordinates: latitude and longitude |
[out] | r,h | map coordinates: Rechtswert (R) and Hochwert (H) |
Reimplemented from GCL::GIC.
References GCL::Ellipsoid::_a, GCL::Ellipsoid::_e2, GCL::Projection::_l0, GCL::Ellipsoid::arc(), and zone().
void GCL::GKK::map_to_geo | ( | double | r, | |
double | h, | |||
double & | b, | |||
double & | l | |||
) | const [virtual] |
convert map into geodetic coordinates
[in] | r,h | map coordinates: Rechtswert (R) and Hochwert (H) |
[out] | b,l | geodetic coordinates: latitude and longitude |
Reimplemented from GCL::GIC.
References GCL::Ellipsoid::_a, GCL::Ellipsoid::_e2, GCL::Projection::_l0, and GCL::Ellipsoid::inv_arc().