00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef __SPHERICPOSITION__
00027 #define __SPHERICPOSITION__
00028
00029 namespace API {
00038 class SphericPosition
00039 {
00040 class Util;
00041 friend class Util;
00042
00043 public:
00052 class Util {
00053 friend class SphericPosition;
00054 private:
00055 SphericPosition * sp;
00056 Util(SphericPosition * sp);
00057 ~Util();
00058 public:
00062 void print() const;
00063
00064 };
00065
00071 Util * util;
00072
00078 SphericPosition();
00079
00088 SphericPosition(double alpha, double beta);
00089
00095 double getAlpha();
00096
00103 double getBeta();
00104
00110 void setAlpha(double aRadius);
00111
00118 void setBeta(double aRadius);
00119
00120
00121 private:
00122 double alpha;
00123 double beta;
00124
00125 };
00126 }
00127 #endif // __SPHERICPOSITION__