Point.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _POINT_H_
15 #define _POINT_H_
16 
17 #include "pattern/libhippo.h"
18 
19 namespace hippodraw {
20 
26 {
27  private:
28  double m_x;
29  double m_y;
30  double m_z;
31 
32  public:
33  //Point( double x = 0.0, double y = 0.0 );
34  Point( double x = 0.0, double y = 0.0, double z = 0.0 );
35 
36  void setPoint( double x, double y );
37  void setPoint( double x, double y, double z );
38 
40  void moveBy ( double x, double y );
41 
43  inline double getX() const;
44 
46  inline double getY() const;
47 
49  inline double getZ() const;
50 
52  void setZ ( double );
53 
54 };
55 
56 inline
57 double
58 Point::
59 getX() const
60 {
61  return m_x;
62 }
63 
64 inline
65 double
66 Point::
67 getY() const
68 {
69  return m_y;
70 }
71 
72 inline double
73 Point::
74 getZ() const
75 {
76  return m_z;
77 }
78 
79 } // namespace hippodraw
80 
81 #endif // _POINT_H_

Generated for HippoDraw Class Library by doxygen