ViennaGrid for Python
 All Classes Files Functions Variables
linear.hpp
Go to the documentation of this file.
1 
6 #ifndef VERTICES_LINEAR_HPP
7 #define VERTICES_LINEAR_HPP
8 
9 #include "types.hpp"
10 
11 #include "../points/cartesian.hpp"
12 #include "../points/cylindrical.hpp"
13 #include "../points/polar.hpp"
14 #include "../points/spherical.hpp"
15 
22 {
28  LinearCartesian1D_Vertex_t *vertex;
29 public:
30  LinearCartesian1D_Vertex(LinearCartesian1D_Vertex_t &initial_vertex);
31  PointCartesian1D to_point();
32 
39  LinearCartesian1D_Vertex_t & get_vertex();
40 };
41 
48 {
54  LinearCartesian2D_Vertex_t *vertex;
55 public:
56  LinearCartesian2D_Vertex(LinearCartesian2D_Vertex_t &initial_vertex);
57  PointCartesian2D to_point();
58 
65  LinearCartesian2D_Vertex_t & get_vertex();
66 };
67 
74 {
80  LinearCartesian3D_Vertex_t *vertex;
81 public:
82  LinearCartesian3D_Vertex(LinearCartesian3D_Vertex_t &initial_vertex);
83  PointCartesian3D to_point();
84 
91  LinearCartesian3D_Vertex_t & get_vertex();
92 };
93 
100 {
106  LinearCylindrical3D_Vertex_t *vertex;
107 public:
108  LinearCylindrical3D_Vertex(LinearCylindrical3D_Vertex_t &initial_vertex);
109  PointCylindrical3D to_point();
110 
117  LinearCylindrical3D_Vertex_t & get_vertex();
118 };
119 
126 {
132  LinearPolar2D_Vertex_t *vertex;
133 public:
134  LinearPolar2D_Vertex(LinearPolar2D_Vertex_t &initial_vertex);
135  PointPolar2D to_point();
136 
143  LinearPolar2D_Vertex_t & get_vertex();
144 };
145 
152 {
158  LinearSpherical3D_Vertex_t *vertex;
159 public:
160  LinearSpherical3D_Vertex(LinearSpherical3D_Vertex_t &initial_vertex);
161  PointSpherical3D to_point();
162 
169  LinearSpherical3D_Vertex_t & get_vertex();
170 };
171 
172 #endif /* end of include guard: VERTICES_LINEAR_HPP */