ViennaGrid for Python
 All Classes Files Functions Variables
quadrilateral.hpp
Go to the documentation of this file.
1 
6 #ifndef VERTICES_QUADRILATERAL_HPP
7 #define VERTICES_QUADRILATERAL_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  QuadrilateralCartesian2D_Vertex_t *vertex;
29 public:
30  QuadrilateralCartesian2D_Vertex(QuadrilateralCartesian2D_Vertex_t &initial_vertex);
31  PointCartesian2D to_point();
32 
39  QuadrilateralCartesian2D_Vertex_t & get_vertex();
40 };
41 
48 {
54  QuadrilateralCartesian3D_Vertex_t *vertex;
55 public:
56  QuadrilateralCartesian3D_Vertex(QuadrilateralCartesian3D_Vertex_t &initial_vertex);
57  PointCartesian3D to_point();
58 
65  QuadrilateralCartesian3D_Vertex_t & get_vertex();
66 };
67 
74 {
80  QuadrilateralCylindrical3D_Vertex_t *vertex;
81 public:
82  QuadrilateralCylindrical3D_Vertex(QuadrilateralCylindrical3D_Vertex_t &initial_vertex);
83  PointCylindrical3D to_point();
84 
91  QuadrilateralCylindrical3D_Vertex_t & get_vertex();
92 };
93 
100 {
106  QuadrilateralPolar2D_Vertex_t *vertex;
107 public:
108  QuadrilateralPolar2D_Vertex(QuadrilateralPolar2D_Vertex_t &initial_vertex);
109  PointPolar2D to_point();
110 
117  QuadrilateralPolar2D_Vertex_t & get_vertex();
118 };
119 
126 {
132  QuadrilateralSpherical3D_Vertex_t *vertex;
133 public:
134  QuadrilateralSpherical3D_Vertex(QuadrilateralSpherical3D_Vertex_t &initial_vertex);
135  PointSpherical3D to_point();
136 
143  QuadrilateralSpherical3D_Vertex_t & get_vertex();
144 };
145 
146 #endif /* end of include guard: VERTICES_QUADRILATERAL_HPP */