A class for polyhedron–segment intersection in 3d space.
#include <dumux/geometry/geometryintersection.hh>
|
using | ctype = typename Policy::ctype |
|
using | Point = typename Policy::Point |
|
using | Intersection = typename Policy::Intersection |
|
|
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 &intersection) |
| Colliding segment and convex polyhedron. More...
|
|
◆ ctype
template<class Geometry1 , class Geometry2 , class Policy >
◆ Intersection
template<class Geometry1 , class Geometry2 , class Policy >
◆ Point
template<class Geometry1 , class Geometry2 , class Policy >
◆ intersection() [1/2]
template<class Geometry1 , class Geometry2 , class Policy >
template<class P = Policy, std::enable_if_t< P::dimIntersection==1, int > = 0>
- Note
- Algorithm based on the one from "Real-Time Collision Detection" by Christer Ericson, published by Morgan Kaufmann Publishers, (c) 2005 Elsevier Inc. Basis is the theorem that for any two non-intersecting convex polyhedrons a separating plane exists.
- Parameters
-
geo1/geo2 | The geometries to intersect |
intersection | If the geometries collide intersection holds the corner points of the intersection object in global coordinates. |
- Note
- This overload is used when segment-like intersections are seeked.
◆ intersection() [2/2]
template<class Geometry1 , class Geometry2 , class Policy >
template<class P = Policy, std::enable_if_t< P::dimIntersection==0, int > = 0>
- Note
- Algorithm based on the one from "Real-Time Collision Detection" by Christer Ericson, published by Morgan Kaufmann Publishers, (c) 2005 Elsevier Inc. Basis is the theorem that for any two non-intersecting convex polyhedrons a separating plane exists.
- Parameters
-
geo1/geo2 | The geometries to intersect |
intersection | If the geometries collide intersection holds the corner points of the intersection object in global coordinates. |
- Note
- This overload is used when point-like intersections are seeked.
The documentation for this class was generated from the following file: