Class to calculate the closest distance from a point to a given set of geometries describing the domain's boundaries. Internally uses an AABB tree representation of the geometries for logarithmic distance queries.
More...
#include <dumux/geometry/distancefield.hh>
template<class Geometry>
class Dumux::AABBDistanceField< Geometry >
- Template Parameters
-
| Geometry | The (dune) geometry type. |
|
| | AABBDistanceField (const std::vector< Geometry > &geometries) |
| | The constructor.
|
| |
| std::pair< Scalar, std::size_t > | distanceAndIndex (const Point &p) const |
| | Returns the distance from a point to the closest geometry on the domain's boundary, as well as the index of the closest geometry.
|
| |
| Scalar | distance (const Point &p) const |
| | Returns the distance from a point to the closest geometry on the domain's boundary.
|
| |
◆ AABBDistanceField()
- Parameters
-
| geometries | A vector of geometries describing the boundaries of the spatial domain. |
◆ distance()
- Parameters
-
| p | The location at which the closest distance is evaluated. |
◆ distanceAndIndex()
- Parameters
-
| p | The location at which the closest distance is evaluated. |
The documentation for this class was generated from the following file: