1 | /* |
2 | * Point_orig.hpp |
3 | * |
4 | * Created on: Jun 7, 2015 |
5 | * Author: i-bird |
6 | */ |
7 | |
8 | #ifndef POINT_ORIG_HPP_ |
9 | #define POINT_ORIG_HPP_ |
10 | |
11 | /*! \brief Definition of a class Point in plain C++ and boost::vector for testing purpose |
12 | * |
13 | * Definition of a class Point in plain C++ and boost::vector for testing purpose |
14 | * |
15 | * \param T base type of all the fields |
16 | * |
17 | */ |
18 | |
19 | template<typename T> class Point_orig |
20 | { |
21 | public: |
22 | |
23 | T x; |
24 | T y; |
25 | T z; |
26 | |
27 | T s; |
28 | |
29 | T v[3]; |
30 | T t[3][3]; |
31 | |
32 | inline void setx(T x_) {x = x_;}; |
33 | inline void sety(T y_) {y = y_;}; |
34 | inline void setz(T z_) {z = z_;}; |
35 | inline void sets(T s_) {s = s_;}; |
36 | }; |
37 | |
38 | |
39 | |
40 | #endif /* POINT_ORIG_HPP_ */ |
41 | |