A class for segment–segment intersection in 2d space. More...
#include <dumux/common/geometry/geometryintersection.hh>
A class for segment–segment intersection in 2d space.
Public Types | |
using | ctype = typename Policy::ctype |
using | Point = typename Policy::Point |
using | Intersection = typename Policy::Intersection |
Static Public Member Functions | |
template<class P = Policy, std::enable_if_t< P::dimIntersection==0, int > = 0> | |
static bool | intersection (const Geometry1 &geo1, const Geometry2 &geo2, Intersection &intersection) |
Colliding two segments. More... | |
template<class P = Policy, std::enable_if_t< P::dimIntersection==1, int > = 0> | |
static bool | intersection (const Geometry1 &geo1, const Geometry2 &geo2, Intersection &intersection) |
Colliding two segments. More... | |
using Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, 2, 1, 1 >::ctype = typename Policy::ctype |
using Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, 2, 1, 1 >::Intersection = typename Policy::Intersection |
using Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, 2, 1, 1 >::Point = typename Policy::Point |
|
inlinestatic |
Colliding two segments.
geo1/geo2 | The geometries to intersect |
intersection | The intersection point |
|
inlinestatic |
Colliding two segments.
geo1/geo2 | The geometries to intersect |
intersection | Container to store corners of intersection segment |