QXRD
0.11.16
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
qxrd
source
qxrdpoint4d.h
Go to the documentation of this file.
1
#ifndef QXRDPOINT4D_H
2
#define QXRDPOINT4D_H
3
4
class
QxrdPoint4D
5
{
6
public
:
7
QxrdPoint4D
();
8
QxrdPoint4D
(
double
x
,
double
y
,
double
z
,
double
t
);
9
QxrdPoint4D
(
const
QxrdPoint4D
&p);
10
11
double
x
()
const
;
12
double
y
()
const
;
13
double
z
()
const
;
14
double
t
()
const
;
15
16
double
&
rx
();
17
double
&
ry
();
18
double
&
rz
();
19
double
&
rt
();
20
21
private
:
22
double
m_X
;
23
double
m_Y
;
24
double
m_Z
;
25
double
m_T
;
26
};
27
28
inline
QxrdPoint4D::QxrdPoint4D
()
29
: m_X(0),
30
m_Y(0),
31
m_Z(0),
32
m_T(0)
33
{
34
}
35
36
inline
QxrdPoint4D::QxrdPoint4D
(
double
x,
double
y,
double
z,
double
t)
37
: m_X(x),
38
m_Y(y),
39
m_Z(z),
40
m_T(t)
41
{
42
}
43
44
inline
QxrdPoint4D::QxrdPoint4D
(
const
QxrdPoint4D
&p)
45
: m_X(p.x()),
46
m_Y(p.y()),
47
m_Z(p.z()),
48
m_T(p.t())
49
{
50
}
51
52
inline
double
QxrdPoint4D::x
()
const
53
{
54
return
m_X
;
55
}
56
57
inline
double
QxrdPoint4D::y
()
const
58
{
59
return
m_Y
;
60
}
61
62
inline
double
QxrdPoint4D::z
()
const
63
{
64
return
m_Z
;
65
}
66
67
inline
double
QxrdPoint4D::t
()
const
68
{
69
return
m_T
;
70
}
71
72
inline
double
&
QxrdPoint4D::rx
()
73
{
74
return
m_X
;
75
}
76
77
inline
double
&
QxrdPoint4D::ry
()
78
{
79
return
m_Y
;
80
}
81
82
inline
double
&
QxrdPoint4D::rz
()
83
{
84
return
m_Z
;
85
}
86
87
inline
double
&
QxrdPoint4D::rt
()
88
{
89
return
m_T
;
90
}
91
92
#endif // QXRDPOINT4D_H
QxrdPoint4D::rx
double & rx()
Definition:
qxrdpoint4d.h:72
QxrdPoint4D::m_X
double m_X
Definition:
qxrdpoint4d.h:22
QxrdPoint4D::ry
double & ry()
Definition:
qxrdpoint4d.h:77
QxrdPoint4D::t
double t() const
Definition:
qxrdpoint4d.h:67
QxrdPoint4D::y
double y() const
Definition:
qxrdpoint4d.h:57
QxrdPoint4D::m_Z
double m_Z
Definition:
qxrdpoint4d.h:24
QxrdPoint4D::m_Y
double m_Y
Definition:
qxrdpoint4d.h:23
QxrdPoint4D::rt
double & rt()
Definition:
qxrdpoint4d.h:87
QxrdPoint4D::m_T
double m_T
Definition:
qxrdpoint4d.h:25
QxrdPoint4D::x
double x() const
Definition:
qxrdpoint4d.h:52
QxrdPoint4D::z
double z() const
Definition:
qxrdpoint4d.h:62
QxrdPoint4D::rz
double & rz()
Definition:
qxrdpoint4d.h:82
QxrdPoint4D
Definition:
qxrdpoint4d.h:4
QxrdPoint4D::QxrdPoint4D
QxrdPoint4D()
Definition:
qxrdpoint4d.h:28
Generated by
1.8.10