6 #ifndef PHYSICAL_GEOMETRY_HPP 7 #define PHYSICAL_GEOMETRY_HPP 1 10 #define _USE_MATH_DEFINES 14 #include "../../tessellation/Edge.hpp" 33 virtual double calcVolume(
const vector<Edge>& edge_list)
const = 0;
39 virtual double calcVolume(
const vector<Vector2D>& chull)
const = 0;
60 double calcVolume(
const vector<Edge>& edge_list)
const;
62 double calcVolume(
const vector<Vector2D>& chull)
const;
100 double calcVolume(
const vector<Edge>& edge_list)
const;
102 double calcVolume(
const vector<Vector2D>& chull)
const;
109 const Axis& getAxis(
void)
const;
115 #endif // PHYSICAL_GEOMETRY_HPP
virtual double calcArea(const Edge &edge) const =0
Calculates the physical area of an edge.
virtual double calcVolume(const vector< Edge > &edge_list) const =0
Calculates the physical volume of a cell.
Interface between two cells.
const Vector2D direction
Positive direction of the axis.
virtual Vector2D calcCentroid(const vector< Vector2D > &chull) const =0
Calculates the centroid of a cell.
const Vector2D origin
Origin of the axis.
Base class for physical geometry.