ViennaGrid for Python
 All Classes Files Functions Variables
triangular.hpp
Go to the documentation of this file.
1 
6 #ifndef VERTICES_TRIANGULAR_HPP
7 #define VERTICES_TRIANGULAR_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  TriangularCartesian2D_Vertex_t *vertex;
29 public:
30  TriangularCartesian2D_Vertex(TriangularCartesian2D_Vertex_t &initial_vertex);
31  PointCartesian2D to_point();
32 
39  TriangularCartesian2D_Vertex_t & get_vertex();
40 };
41 
48 {
54  TriangularCartesian3D_Vertex_t *vertex;
55 public:
56  TriangularCartesian3D_Vertex(TriangularCartesian3D_Vertex_t &initial_vertex);
57  PointCartesian3D to_point();
58 
65  TriangularCartesian3D_Vertex_t & get_vertex();
66 };
67 
74 {
80  TriangularCylindrical3D_Vertex_t *vertex;
81 public:
82  TriangularCylindrical3D_Vertex(TriangularCylindrical3D_Vertex_t &initial_vertex);
83  PointCylindrical3D to_point();
84 
91  TriangularCylindrical3D_Vertex_t & get_vertex();
92 };
93 
100 {
106  TriangularPolar2D_Vertex_t *vertex;
107 public:
108  TriangularPolar2D_Vertex(TriangularPolar2D_Vertex_t &initial_vertex);
109  PointPolar2D to_point();
110 
117  TriangularPolar2D_Vertex_t & get_vertex();
118 };
119 
126 {
132  TriangularSpherical3D_Vertex_t *vertex;
133 public:
134  TriangularSpherical3D_Vertex(TriangularSpherical3D_Vertex_t &initial_vertex);
135  PointSpherical3D to_point();
136 
143  TriangularSpherical3D_Vertex_t & get_vertex();
144 };
145 
146 #endif /* end of include guard: VERTICES_TRIANGULAR_HPP */