Skip to content

ArborX::BruteForce

Damien L-G edited this page Mar 12, 2021 · 3 revisions

ArborX / Spatial indexes

ArborX::BruteForce

Defined in header <ArborX_BruteForce.hpp>

template <typename MemorySpace>
class BruteForce;

The class template ArborX::BruteForce is a data structure that can be used to search for geometrical objects in space. When performing queries, it checks all primitives against all predicates.

Template parameter

MemorySpace : A valid Kokkos memory space.

Member types

Member type Definition
memory_space MemorySpace
size_type MemorySpace::size_type
bounding_volume_type ArborX::Box

Member functions

(constructor) constructs the data structure
size returns the number of elements stored in the data structure
empty checks whether the data structure has no elements
bounds returns an axis-aligned bounding box able to contain all elements stored in the data structure
query finds all elements that satisfy given predicates, e.g. intersecting with a box or a sphere