00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef GCL_CONVGEOCLOC_INCLUDED
00022 #define GCL_CONVGEOCLOC_INCLUDED
00023
00024 #include "ellipsoid.h"
00025 #include "drotmatrix3.h"
00026
00027 using namespace GenLib2;
00028
00029 namespace GCL
00030 {
00031
00060 class ConvGeocLoc : public Ellipsoid
00061 {
00062 public:
00066
00067 ConvGeocLoc();
00068
00070 virtual ~ConvGeocLoc() {}
00072
00085 void set_reference_point(double bb, double lb,
00086 double hb);
00087
00095 void get_reference_point(double& bb, double& lb,
00096 double& hb) const;
00098
00102 void print(ostream& os) const;
00103
00114 void geo_to_loc(double b, double l, double h,
00115 double& u, double& v, double& w) const;
00116
00122 void loc_to_geo(double u, double v, double w,
00123 double& b, double& l, double& h) const;
00125
00126 protected:
00128 double _bb;
00129
00131 double _lb;
00132
00134 double _hb;
00135
00137 double _xb;
00138
00140 double _yb;
00141
00143 double _zb;
00144
00146 DRotMatrix3 _rot_matrix;
00147 };
00148
00149 }
00150
00151 #endif