#include <gic.h>
Public Member Functions | |
GIC (const string &ell_name, double m0=1., double x0=0., double y0=0.) | |
constructor with ellipsoid name | |
virtual const char * | map_name () const |
get map projection name | |
conversion routines | |
conversion between geodetic and map coordinates | |
void | geo_to_map (double b, double l, double &x, double &y) const |
convert geodetic into map coordinates | |
void | map_to_geo (double x, double y, double &b, double &l) const |
convert map into geodetic coordinates | |
geodetic-Gausssche isotherm coords. conversion | |
conversion between geodetic and Gausssche isotherm coordinates | |
void | geo_to_iso (double b, double l, double &x, double &y) const |
convert geodetic into Gausssche isotherm coordinates | |
void | iso_to_geo (double x, double y, double &b, double &l) const |
convert Gausssche isotherm into geodetic coordinates |
Conversion routines for Gausssche isotherm coordinates.
References:
GCL::GIC::GIC | ( | const string & | ell_name, | |
double | m0 = 1. , |
|||
double | x0 = 0. , |
|||
double | y0 = 0. | |||
) | [inline] |
constructor with ellipsoid name
ell_name | name of the reference ellipsoid | |
m0 | scale factor | |
x0 | offset in x | |
y0 | offset in y |
References GCL::Projection::_m0, GCL::Projection::_x0, GCL::Projection::_y0, GCL::Projection::m0(), GCL::Projection::x0(), and GCL::Projection::y0().
void GCL::GIC::geo_to_map | ( | double | b, | |
double | l, | |||
double & | x, | |||
double & | y | |||
) | const [inline, virtual] |
convert geodetic into map coordinates
[in] | b,l | geodetic coordinates, latitude and longitude in radian |
[out] | x,y | map coordinates in meter |
Implements GCL::Projection.
Reimplemented in GCL::GKK, and GCL::UTM.
References geo_to_iso().
void GCL::GIC::map_to_geo | ( | double | x, | |
double | y, | |||
double & | b, | |||
double & | l | |||
) | const [inline, virtual] |
convert map into geodetic coordinates
[in] | x,y | map coordinates in meter |
[out] | b,l | geodetic coordinates, latitude and longitude in radian |
Implements GCL::Projection.
Reimplemented in GCL::GKK, and GCL::UTM.
References iso_to_geo().
void GCL::GIC::geo_to_iso | ( | double | b, | |
double | l, | |||
double & | x, | |||
double & | y | |||
) | const |
convert geodetic into Gausssche isotherm coordinates
[in] | b,l | geodetic coordinates, latitude and longitude in radian |
[out] | x,y | map coordinates in meter |
References GCL::Ellipsoid::_a, GCL::Ellipsoid::_e2, GCL::Projection::_l0, GCL::Projection::_m0, GCL::Projection::_x0, GCL::Projection::_y0, and GCL::Ellipsoid::arc().
Referenced by GCL::UTM::geo_to_map(), and geo_to_map().
void GCL::GIC::iso_to_geo | ( | double | x, | |
double | y, | |||
double & | b, | |||
double & | l | |||
) | const |
convert Gausssche isotherm into geodetic coordinates
[in] | x,y | map coordinates in meter |
[out] | b,l | geodetic coordinates, latitude and longitude in radian |
References GCL::Ellipsoid::_a, GCL::Ellipsoid::_e2, GCL::Projection::_l0, GCL::Projection::_m0, GCL::Projection::_x0, GCL::Projection::_y0, and GCL::Ellipsoid::inv_arc().
Referenced by GCL::UTM::map_to_geo(), and map_to_geo().