Reference documentation for deal.II version 9.4.1
|
#include <deal.II/arborx/access_traits.h>
Public Member Functions | |
template<int dim, typename Number > | |
BoundingBoxIntersectPredicate (const std::vector<::BoundingBox< dim, Number > > &bounding_boxes) | |
const ::BoundingBox< 3, float > & | get (unsigned int i) const |
std::size_t | size () const |
Private Attributes | |
std::vector<::BoundingBox< 3, float > > | bounding_boxes |
This class is used by ArborXWrappers::BVH to determine for given bounding boxes which of the bounding boxes used to build the ArborXWrappers::BVH intersect with them.
Definition at line 161 of file access_traits.h.
ArborXWrappers::BoundingBoxIntersectPredicate::BoundingBoxIntersectPredicate | ( | const std::vector<::BoundingBox< dim, Number > > & | bounding_boxes | ) |
Constructor. bounding_boxes
is a list of bounding boxes which we are interested in knowing if they intersect ArborXWrappers::BVH bounding boxes.
Definition at line 127 of file access_traits.cc.
const ::BoundingBox< 3, float > & ArborXWrappers::BoundingBoxPredicate::get | ( | unsigned int | i | ) | const |
Return the i
th BoundingBox stored in the object.
Definition at line 147 of file access_traits.cc.
std::size_t ArborXWrappers::BoundingBoxPredicate::size | ( | ) | const |
The number of bounding boxes stored in the structure.
Definition at line 141 of file access_traits.cc.
|
privateinherited |
Definition at line 150 of file access_traits.h.