template<class Geometry1, class Geometry2, class Policy>
class Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, 3, 2, 1 >
A class for polygon–segment intersection in 3d space.
|
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 segment and convex polyhedron. More...
|
|
template<class P = Policy, std::enable_if_t< P::dimIntersection==0, int > = 0> |
static bool | intersection (const Geometry1 &geo1, const Geometry2 &geo2, Intersection &is) |
| Colliding segment and convex polyhedron. More...
|
|
template<class P = Policy, std::enable_if_t< P::dimIntersection==0, int > = 0> |
static bool | intersection (const Point &a, const Point &b, const Point &c, const Point &p, const Point &q, Intersection &is) |
| Colliding segment and convex polyhedron. More...
|
|
template<class Geometry1 , class Geometry2 , class Policy >
template<class P = Policy, std::enable_if_t< P::dimIntersection==1, int > = 0>
Colliding segment and convex polyhedron.
- Note
- Algorithm based on the one from "Real-Time Collision Detection" by Christer Ericson, published by Morgan Kaufmann Publishers, (c) 2005 Elsevier Inc. (Chapter 5.3.6)
- Parameters
-
geo1/geo2 | The geometries to intersect |
intersection | If the geometries collide, is holds the corner points of the intersection object in global coordinates. |
- Note
- This overload is used when point-like intersections are seeked
template<class Geometry1 , class Geometry2 , class Policy >
template<class P = Policy, std::enable_if_t< P::dimIntersection==0, int > = 0>
Colliding segment and convex polyhedron.
- Note
- Algorithm based on the one from "Real-Time Collision Detection" by Christer Ericson, published by Morgan Kaufmann Publishers, (c) 2005 Elsevier Inc. (Chapter 5.3.6)
- Parameters
-
geo1/geo2 | The geometries to intersect |
is | If the geometries collide, is holds the corner points of the intersection object in global coordinates. |
- Note
- This overload is used when point-like intersections are seeked
template<class Geometry1 , class Geometry2 , class Policy >
template<class P = Policy, std::enable_if_t< P::dimIntersection==0, int > = 0>
static bool Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, 3, 2, 1 >::intersection |
( |
const Point & |
a, |
|
|
const Point & |
b, |
|
|
const Point & |
c, |
|
|
const Point & |
p, |
|
|
const Point & |
q, |
|
|
Intersection & |
is |
|
) |
| |
|
inlinestatic |
Colliding segment and convex polyhedron.
- Note
- Algorithm based on the one from "Real-Time Collision Detection" by Christer Ericson, published by Morgan Kaufmann Publishers, (c) 2005 Elsevier Inc. (Chapter 5.3.6)
- Parameters
-
is | If the geometries collide, is holds the corner points of the intersection object in global coordinates. |
a/b/c | Points of triangle |
p/q | Points of segment |
- Note
- This overload is used when point-like intersections are seeked