![]() |
Reference documentation for deal.II version 9.3.2
|
#include <deal.II/arborx/access_traits.h>
Public Member Functions | |
| template<int dim, typename Number > | |
| BoundingBoxNearestPredicate (const std::vector<::BoundingBox< dim, Number >> &bounding_boxes, const unsigned int n_nearest_neighbors) | |
| unsigned int | get_n_nearest_neighbors () const |
| const ::BoundingBox< 3, float > & | get (unsigned int i) const |
| std::size_t | size () const |
Private Member Functions | |
| std::size_t | size () const |
| const ::BoundingBox< 3, float > & | get (unsigned int i) const |
Private Attributes | |
| unsigned int | n_nearest_neighbors |
| std::vector<::BoundingBox< 3, float > > | bounding_boxes |
This class is used by ArborXWrappers::BVH to determine for given bounding boxes which are the nearest bounding boxes/points among the ones used to build the ArborXWrappers::BVH.
Definition at line 182 of file access_traits.h.
| ArborXWrappers::BoundingBoxNearestPredicate::BoundingBoxNearestPredicate | ( | const std::vector<::BoundingBox< dim, Number >> & | bounding_boxes, |
| const unsigned int | n_nearest_neighbors | ||
| ) |
Constructor. bounding_boxes is a list of bounding boxes for which are interested in knowing the n_nearest_neighbors nearest bounding boxes used to build the ArborXWrappers::BVH.
Definition at line 135 of file access_traits.cc.
| unsigned int ArborXWrappers::BoundingBoxNearestPredicate::get_n_nearest_neighbors | ( | ) | const |
Return the number of nearest neighbors we are looking for.
Definition at line 145 of file access_traits.cc.
| const ::BoundingBox< 3, float > & ArborXWrappers::BoundingBoxPredicate::get |
Return the ith BoundingBox stored in the object.
Definition at line 145 of file access_traits.cc.
| std::size_t ArborXWrappers::BoundingBoxPredicate::size |
Number of bounding boxes stored in the structure.
Definition at line 139 of file access_traits.cc.
|
protectedinherited |
Number of bounding boxes stored in the structure.
Definition at line 111 of file access_traits.cc.
|
protectedinherited |
Return the ith BoundingBox stored in the object.
Definition at line 119 of file access_traits.cc.
|
private |
Definition at line 206 of file access_traits.h.
|
privateinherited |
Definition at line 148 of file access_traits.h.