Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

point.hh

Go to the documentation of this file.
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

Anoid NG © Michael Westergaard, Martin Stig Stissing, Ronni Michael Laursen, and Kristian Bisgaard Lassen