00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef _POINT_H_
00012 #define _POINT_H_
00013
00014 #include "pattern/libhippo.h"
00015
00020 class MDL_HIPPOPLOT_API Point
00021 {
00022 private:
00023 double m_x;
00024 double m_y;
00025 double m_z;
00026
00027 public:
00028
00029 Point( double x = 0.0, double y = 0.0, double z = 0.0 );
00030
00031 void setPoint( double x, double y );
00032 void setPoint( double x, double y, double z );
00033
00035 void moveBy ( double x, double y );
00036
00038 inline double getX() const;
00039
00041 inline double getY() const;
00042
00044 inline double getZ() const;
00045
00047 void setZ ( double );
00048
00049 };
00050
00051 inline
00052 double
00053 Point::
00054 getX() const
00055 {
00056 return m_x;
00057 }
00058
00059 inline
00060 double
00061 Point::
00062 getY() const
00063 {
00064 return m_y;
00065 }
00066
00067 inline double
00068 Point::
00069 getZ() const
00070 {
00071 return m_z;
00072 }
00073
00074 #endif // _POINT_H_