3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Static Public Member Functions | List of all members
Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, 3, 2, 3 > Class Template Reference

A class for polygon–polyhedron intersection in 3d space. More...

#include <dumux/common/geometry/geometryintersection.hh>

Inheritance diagram for Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, 3, 2, 3 >:
Inheritance graph

Description

template<class Geometry1, class Geometry2, class Policy>
class Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, 3, 2, 3 >

A class for polygon–polyhedron intersection in 3d 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>
static bool intersection (const Geometry1 &geo1, const Geometry2 &geo2, typename Base::Intersection &intersection)
 Colliding polygon and convex polyhedron. More...
 
static bool intersection (const Geometry2 &geo1, const Geometry1 &geo2, Intersection &intersection)
 Determine if the two geometries intersect and compute the intersection geometry. More...
 

Member Typedef Documentation

◆ ctype

using Dumux::GeometryIntersection< Geometry2 , Geometry1 , Policy, dimworld, dim1, dim2 >::ctype = typename Policy::ctype
inherited

◆ Intersection

using Dumux::GeometryIntersection< Geometry2 , Geometry1 , Policy, dimworld, dim1, dim2 >::Intersection = typename Policy::Intersection
inherited

◆ Point

using Dumux::GeometryIntersection< Geometry2 , Geometry1 , Policy, dimworld, dim1, dim2 >::Point = typename Policy::Point
inherited

Member Function Documentation

◆ intersection() [1/2]

template<class Geometry1 , class Geometry2 , class Policy >
template<class P = Policy>
static bool Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, 3, 2, 3 >::intersection ( const Geometry1 &  geo1,
const Geometry2 &  geo2,
typename Base::Intersection intersection 
)
inlinestatic

Colliding polygon and convex polyhedron.

Parameters
geo1/geo2The geometries to intersect
intersectionIf the geometries collide intersection holds the corner points of the intersection object in global coordinates.
Note
This forwards to the polyhedron-polygon specialization with swapped arguments.

◆ intersection() [2/2]

static bool Dumux::GeometryIntersection< Geometry2 , Geometry1 , Policy, dimworld, dim1, dim2 >::intersection ( const Geometry2 &  geo1,
const Geometry1 &  geo2,
Intersection intersection 
)
inlinestaticinherited

Determine if the two geometries intersect and compute the intersection geometry.


The documentation for this class was generated from the following file: