00001 #ifndef _point_hh_ 00002 #define _point_hh_ 00003 00009 namespace anoid { 00011 namespace simple { 00012 00013 class Point { 00014 protected: 00015 double x, y, z; 00016 public: 00023 Point(double getx = 0, double gety = 0, double getz = 0); 00024 00029 double getX(void) const; 00030 00035 double getY(void) const; 00036 00041 double getZ(void) const; 00042 00047 void setX(double getx); 00048 00053 void setY(double gety); 00054 00059 void setZ(double getz); 00060 00065 void addX(double getx); 00066 00071 void addY(double gety); 00072 00077 void addZ(double getz); 00078 }; 00079 00080 }; 00081 }; 00082 00083 #endif