Skip to content

SpatialIndexes

Andrey Prokopenko edited this page Dec 24, 2023 · 3 revisions

Spatial indexes

ArborX provides data structures called spatial indexes which may be used to accelerate searching for objects in space.

Current version of ArborX implements two spatial indexes.

ArborX::BoundingVolumeHierarchy

ArborX::BruteForce

Complexity

Data structure Construction Query
BoundingVolumeHierarchy O(N log N) O(M log N)
BruteForce O(N) O(M N)

Current support

Data structure Spatial queries Nearest queries
BoundingVolumeHierarchy ✔️ ✔️
BruteForce ✔️