|
HArD::Core3D
Hybrid Arbitrary Degree::Core 3D - Library to implement 3D schemes with vertex, edge, face and cell polynomials as unknowns
|
Structure to define a flat convex hull (nodes and normal) and check if a mesh entity is inside. More...
#include <BoundaryConditions.hpp>

Public Member Functions | |
| Hull (const std::vector< VectorRd > &nodes, const VectorRd &normal) | |
| Constructor. | |
| bool | is_in (const VectorRd &x) const |
| Check if a point is in the convex hull. | |
| bool | is_in (const Vertex &V) const |
| Check if a vertex is in the convex hull. | |
| template<typename MeshEntity > | |
| bool | is_in (const MeshEntity &E) const |
| Check if a mesh entity is in the convex hull. | |
Public Attributes | |
| std::vector< VectorRd > | nodes |
| Nodes defining the planar convex hull. | |
| VectorRd | normal |
| Normal to the planar convex hull. | |
| VectorRd | center |
| "Center" of the hull | |
| VectorRd | apex |
| A point outside the plane of the convex hull (in the direction of normal) | |
Structure to define a flat convex hull (nodes and normal) and check if a mesh entity is inside.
|
inline |
Check if a mesh entity is in the convex hull.
| VectorRd Hull::apex |
A point outside the plane of the convex hull (in the direction of normal)
| VectorRd Hull::center |
"Center" of the hull
| std::vector<VectorRd> Hull::nodes |
Nodes defining the planar convex hull.
| VectorRd Hull::normal |
Normal to the planar convex hull.