|
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 plane (by a point and a normal) and check position of a mesh entity with respect to it. More...
#include <BoundaryConditions.hpp>

Public Member Functions | |
| Plane (const VectorRd &point, const VectorRd &normal) | |
| Constructor. | |
| bool | is_in (const VectorRd &x) const |
| Check if a point is inside the plane. | |
| bool | is_in (const Vertex &V) const |
| Check if a vertex is inside the plane. | |
| template<typename MeshEntity > | |
| bool | is_in (const MeshEntity &E) const |
| Check if a mesh entity is inside the plane. | |
| bool | is_on_side (const VectorRd &x, const double &side) const |
| Check if a point is on one side of the plane (side=+/-1 depending on the normal to the plane) | |
| bool | is_on_side (const Vertex &V, const double &side) const |
| Check if a vertex is on one side of the plane (side=+/-1 depending on the normal to the plane) | |
| template<typename MeshEntity > | |
| bool | is_on_side (const MeshEntity &E, const double &side) const |
| Check if a mesh entity is on one side of the plane (side=+/-1 depending on the normal to the plane) | |
Public Attributes | |
| VectorRd | point |
| One point on the plane. | |
| VectorRd | normal |
| Normal to the plane. | |
Structure to define a plane (by a point and a normal) and check position of a mesh entity with respect to it.
|
inline |
Check if a mesh entity is inside the plane.
|
inline |
Check if a mesh entity is on one side of the plane (side=+/-1 depending on the normal to the plane)
Check if a point is on one side of the plane (side=+/-1 depending on the normal to the plane)
Check if a vertex is on one side of the plane (side=+/-1 depending on the normal to the plane)
| VectorRd Plane::normal |
Normal to the plane.
| VectorRd Plane::point |
One point on the plane.