ArborX::BVH¶
Note
For ArborX 1.x, see ArborX::BoundingVolumeHierarchy (v1).
Defined in header <ArborX_LinearBVH.hpp>
template <typename MemorySpace, typename Value, typename IndexableGetter, typename BoundingVolume>
class BoundingVolumeHierarchy;
The class template ArborX::BoundingVolumeHierarchy is a tree data structure that can be used to accelerate the search for geometrical objects in space.
Template parameter¶
MemorySpace: valid Kokkos memory spaceValue: type of objects stored in the containerIndexableGetter: function extracting an indexable geometry fromValueBoundingVolume: bounding volume used for internal nodes
Member types¶
Member type |
Definition |
|---|---|
|
|
|
|
|
|
|
|
|
|
Member functions¶
constructs the tree data structure |
|
returns the number of leaves stored in the tree |
|
checks whether the tree has no leaves |
|
returns a bounding volume able to contain all leaves stored in the tree |
|
finds all leaves that satisfy given predicates, e.g. nearest to a point or intersecting with a box or a sphere |