deal.II version GIT relicensing-2289-g1e5549a87a 2024-12-21 21:30:00+00:00
|
#include <deal.II/arborx/access_traits.h>
Public Member Functions | |
template<int dim, typename Number > | |
SphereIntersectPredicate (const std::vector< std::pair<::Point< dim, Number >, Number > > &spheres) | |
const std::pair<::Point< 3, float >, float > & | get (unsigned int) const |
std::size_t | size () const |
Private Attributes | |
std::vector< std::pair<::Point< 3, float >, float > > | spheres |
This class defines a predicate used by ArborXWrappers::BVH to determine for given spheres which of the bounding boxes used to build the ArborXWrappers::BVH intersect with them.
Definition at line 252 of file access_traits.h.
ArborXWrappers::SphereIntersectPredicate::SphereIntersectPredicate | ( | const std::vector< std::pair<::Point< dim, Number >, Number > > & | spheres | ) |
Constructor. spheres
is a list of spheres which we are interested in knowing if they intersect ArborXWrappers::BVH bounding boxes.
Definition at line 194 of file access_traits.cc.
const std::pair<::Point< 3, float >, float > & ArborXWrappers::SpherePredicate::get | ( | unsigned int | i | ) | const |
Return the i
th sphere stored in the object.
Definition at line 238 of file access_traits.cc.
std::size_t ArborXWrappers::SpherePredicate::size | ( | ) | const |
The number of spheres stored in the structure.
Definition at line 232 of file access_traits.cc.
|
privateinherited |
Definition at line 241 of file access_traits.h.