00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef GCL_LAMBERT2_INCLUDED
00022 #define GCL_LAMBERT2_INCLUDED
00023
00024 #include "projection.h"
00025
00026 namespace GCL
00027 {
00028
00034 class Lambert2 : public Projection
00035 {
00036 public:
00040 Lambert2(const string& ell_name) : Projection(ell_name) {}
00041
00043 const char* map_name() const;
00044
00046 void std_parallel(double b1, double b2) { _b1 = b1; _b2 = b2; }
00047
00049 void print(ostream& os) const;
00050
00059 void geo_to_map(double b, double l, double& x, double& y) const;
00060
00065 void map_to_geo(double x, double y, double& b, double& l) const;
00067
00068 private:
00070 double _b1;
00071
00073 double _b2;
00074 };
00075
00076 }
00077
00078 #endif