UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
u3d_point4d.hpp
1 /* u3d_point4d.hpp */
2 /* $Id: u3d_point4d.hpp,v 1.1 2008/02/14 10:06:37 urij Exp $ */
3 #ifndef __u3d_point4d_hpp
4 #define __u3d_point4d_hpp
5 
6 #include <vector>
7 
12 {
13 public:
14 
17  m_x1 = m_x2 = m_x3 = m_x4 = 0.;
18  }
19 
21  U3dPoint4d(double x1, double x2, double x3, double x4);
22 
23 
25  double getX1() { return m_x1;}
26 
28  double getX2() { return m_x2;}
29 
31  double getX3() { return m_x3;}
32 
34  double getX4() { return m_x4;}
35 
36 
38  void setX1(double x1) { m_x1 = x1;}
39 
41  void setX2(double x2) { m_x2 = x2;}
42 
44  void setX3(double x3) { m_x3 = x3;}
45 
47  void setX4(double x4) { m_x4 = x4;}
48 
50  void setCoords(double x1, double x2, double x3, double x4) {
51  m_x1 = x1;
52  m_x2 = x2;
53  m_x3 = x3;
54  m_x4 = x4;
55  }
56 
59 
60 protected:
61 
63  double m_x1, m_x2, m_x3, m_x4;
64 };
65 
66 typedef std::vector<U3dPoint4d*> U3dPoints4dAr;
67 
68 #endif /* u3d_point4d.hpp */
double m_x1
Definition: u3d_point4d.hpp:63
U3dPoint4d()
Definition: u3d_point4d.hpp:16
void setX4(double x4)
Definition: u3d_point4d.hpp:47
void setX2(double x2)
Definition: u3d_point4d.hpp:41
void setCoords(double x1, double x2, double x3, double x4)
Definition: u3d_point4d.hpp:50
Definition: u3d_point4d.hpp:11
void setX3(double x3)
Definition: u3d_point4d.hpp:44
double getX2()
Definition: u3d_point4d.hpp:28
double getX3()
Definition: u3d_point4d.hpp:31
U3dPoint4d operator=(const U3dPoint4d &p)
double getX4()
Definition: u3d_point4d.hpp:34
void setX1(double x1)
Definition: u3d_point4d.hpp:38
double getX1()
Definition: u3d_point4d.hpp:25