V-ART
point.h
Go to the documentation of this file.
1 
5 #ifndef VART_POINT_H
6 #define VART_POINT_H
7 
8 namespace VART {
13  class Point {
14  public:
15  virtual ~Point() {};
16  virtual float GetX() {return 0;};
17  virtual float GetY() {return 0;};
18  virtual float GetZ() {return 0;};
19  virtual float GetW() {return 0;};
20  virtual void GetXY(float &x, float &y) {};
21  virtual void GetXZ(float &x, float &z) {};
22  virtual void GetYZ(float &y, float &z) {};
23  virtual void GetXYZ(float &x, float &y, float &z) {};
24  virtual void GetXYZW(float &x, float &y, float &z, float &w) {};
25  virtual void SetX(float x) {};
26  virtual void SetY(float y) {};
27  virtual void SetZ(float z) {};
28  virtual void SetW(float z) {};
29  virtual void SetXY(float x, float y) {};
30  virtual void SetXZ(float x, float z) {};
31  virtual void SetYZ(float y, float z) {};
32  virtual void SetXYZ(float x, float y, float z) {};
33  virtual void SetXYZW(float x, float y, float z, float w) {};
34  }; // end class declaration
35 } // end namespace
36 #endif // VART_POINT_H
virtual float GetX()
Definition: point.h:16
virtual void GetYZ(float &y, float &z)
Definition: point.h:22
virtual void GetXY(float &x, float &y)
Definition: point.h:20
virtual float GetW()
Definition: point.h:19
virtual void SetZ(float z)
Definition: point.h:27
virtual void GetXYZ(float &x, float &y, float &z)
Definition: point.h:23
virtual void GetXZ(float &x, float &z)
Definition: point.h:21
virtual void SetYZ(float y, float z)
Definition: point.h:31
virtual void GetXYZW(float &x, float &y, float &z, float &w)
Definition: point.h:24
virtual void SetY(float y)
Definition: point.h:26
virtual void SetXZ(float x, float z)
Definition: point.h:30
virtual float GetZ()
Definition: point.h:18
virtual void SetXYZW(float x, float y, float z, float w)
Definition: point.h:33
virtual void SetW(float z)
Definition: point.h:28
virtual float GetY()
Definition: point.h:17
virtual ~Point()
Definition: point.h:15
Abstract class that provides a common base for point and vector classes.
Definition: point.h:13
virtual void SetXY(float x, float y)
Definition: point.h:29
virtual void SetX(float x)
Definition: point.h:25
virtual void SetXYZ(float x, float y, float z)
Definition: point.h:32