A class for polygon–polygon intersection in 2d space. More...
#include <dumux/geometry/geometryintersection.hh>
A class for polygon–polygon 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==2, int > = 0> | |
static bool | intersection (const Geometry1 &geo1, const Geometry2 &geo2, Intersection &intersection) |
Colliding two polygons. 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 polygons. More... | |
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 polygons. More... | |
using Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, 2, 2, 2 >::ctype = typename Policy::ctype |
using Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, 2, 2, 2 >::Intersection = typename Policy::Intersection |
using Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, 2, 2, 2 >::Point = typename Policy::Point |
|
inlinestatic |
Colliding two polygons.
geo1/geo2 | The geometries to intersect |
intersection | Container to store the corner points of the polygon (as convex hull) |
|
inlinestatic |
Colliding two polygons.
geo1/geo2 | The geometries to intersect |
intersection | Container to store the corners of intersection segment |
|
inlinestatic |
Colliding two polygons.
geo1/geo2 | The geometries to intersect |
intersection | The intersection point |