00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef GCL_GIC_INCLUDED
00022 #define GCL_GIC_INCLUDED
00023
00024 #include "projection.h"
00025
00026 namespace GCL
00027 {
00028
00039 class GIC : public Projection
00040 {
00041 public:
00048 GIC(const string& ell_name, double m0=1., double x0=0., double y0=0.) :
00049 Projection(ell_name)
00050 {
00051 _m0 = m0;
00052 _x0 = x0;
00053 _y0 = y0;
00054 }
00055
00057 virtual const char* map_name() const;
00058
00067 void geo_to_map(double b, double l, double& x, double& y) const
00068 {
00069 geo_to_iso(b, l, x, y);
00070 }
00071
00076 void map_to_geo(double x, double y, double& b, double& l) const
00077 {
00078 iso_to_geo(x, y, b, l);
00079 }
00081
00090 void geo_to_iso(double b, double l, double& x, double& y) const;
00091
00096 void iso_to_geo(double x, double y, double& b, double& l) const;
00098 };
00099
00100 }
00101
00102 #endif