Point.h

Go to the documentation of this file.
00001 /* -*- mode: c++ -*- */
00002 
00014 #ifndef _POINT_H_
00015 #define _POINT_H_
00016 
00017 #include "pattern/libhippo.h"
00018 
00019 namespace hippodraw {
00020 
00025 class MDL_HIPPOPLOT_API Point
00026 {
00027  private:
00028   double m_x;
00029   double m_y;
00030   double m_z;
00031 
00032  public:
00033   //Point( double x = 0.0, double y = 0.0 );
00034   Point( double x = 0.0, double y = 0.0, double z = 0.0 );
00035  
00036   void setPoint( double x, double y );
00037   void setPoint( double x, double y, double z );
00038 
00040   void moveBy ( double x, double y );
00041 
00043   inline double getX() const;
00044 
00046   inline double getY() const;
00047 
00049   inline double getZ() const;
00050 
00052   void setZ ( double );
00053 
00054 };
00055 
00056 inline
00057 double 
00058 Point::
00059 getX() const 
00060 {
00061   return m_x;
00062 }
00063 
00064 inline 
00065 double
00066 Point::
00067 getY() const 
00068 {
00069   return m_y;
00070 }
00071 
00072 inline double 
00073 Point::
00074 getZ() const 
00075 {
00076   return m_z;
00077 }
00078 
00079 } // namespace hippodraw
00080 
00081 #endif // _POINT_H_

Generated for HippoDraw Class Library by doxygen