An intersection object resulting from the intersection of two bounding box tree primitives. More...
#include <dumux/common/geometry/boundingboxtreeintersection.hh>
An intersection object resulting from the intersection of two bounding box tree primitives.
After is has been found that two leaf bounding boxes intersect a primitive test has to be performed to see if the actual entities inside the bounding box intersect too. The result if such an intersection is found as an object of this class containing the indices of the intersecting entities and the corners of the intersection object.
Public Member Functions | |
template<class Corners > | |
BoundingBoxTreeIntersection (std::size_t a, std::size_t b, Corners &&c) | |
std::size_t | first () const |
Get the index of the intersecting entity belonging to this grid. More... | |
std::size_t | second () const |
Get the index of the intersecting entity belonging to the other grid. More... | |
std::vector< GlobalPosition > | corners () const |
Get the corners of the intersection geometry. More... | |
bool | cornersMatch (const std::vector< GlobalPosition > &otherCorners) const |
Check if the corners of this intersection match with the given corners. More... | |
|
inlineexplicit |
|
inline |
Get the corners of the intersection geometry.
|
inline |
Check if the corners of this intersection match with the given corners.
|
inline |
Get the index of the intersecting entity belonging to this grid.
|
inline |
Get the index of the intersecting entity belonging to the other grid.