An intersection object resulting from the intersection of two primitives in an entity set. More...
#include <dumux/common/geometry/intersectingentities.hh>
An intersection object resulting from the intersection of two primitives in an entity set.
Public Types | |
using | ctype = typename Dune::PromotionTraits< CoordTypeA, CoordTypeB >::PromotedType |
using | GlobalPosition = Dune::FieldVector< ctype, dimworld > |
Public Member Functions | |
template<class Corners > | |
IntersectionInfo (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... | |
Static Public Attributes | |
static constexpr int | dimensionworld = dimworld |
using Dumux::IntersectionInfo< dimworld, CoordTypeA, CoordTypeB >::ctype = typename Dune::PromotionTraits<CoordTypeA, CoordTypeB>::PromotedType |
using Dumux::IntersectionInfo< dimworld, CoordTypeA, CoordTypeB >::GlobalPosition = Dune::FieldVector<ctype, dimworld> |
|
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.
|
staticconstexpr |