#include <lambert1.h>
Public Member Functions | |
Lambert1 (const string &ell_name) | |
constructor with ellipsoid name | |
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 |
Conversion routines for Lambert Conformal Conic coordinates.
GCL::Lambert1::Lambert1 | ( | const string & | ell_name | ) | [inline] |
constructor with ellipsoid name
ell_name | name of the reference ellipsoid |
void GCL::Lambert1::geo_to_map | ( | double | b, | |
double | l, | |||
double & | x, | |||
double & | y | |||
) | const [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.
References GCL::Projection::_b0, GCL::Projection::_l0, GCL::Projection::_m0, GCL::Projection::_x0, GCL::Projection::_y0, GCL::Ellipsoid::nradius(), and GCL::Ellipsoid::q().
void GCL::Lambert1::map_to_geo | ( | double | x, | |
double | y, | |||
double & | b, | |||
double & | l | |||
) | const [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.
References GCL::Projection::_b0, GCL::Projection::_l0, GCL::Projection::_m0, GCL::Projection::_x0, GCL::Projection::_y0, GCL::Ellipsoid::inv_q(), GCL::Ellipsoid::nradius(), and GCL::Ellipsoid::q().