Skip to content

v1 ArborX::BoundingVolumeHierarchy::empty

Andrey Prokopenko edited this page Jun 4, 2025 · 1 revision

ArborX / Spatial indexes / ArborX::BVH

ArborX::BVH<MemorySpace>::empty()

KOKKOS_FUNCTION bool empty() const noexcept;

Checks if the tree has no leaves.

Parameters

(none)

Return value

true if the tree is empty, false otherwise.

Complexity

Constant.

See also

size : returns the number of leaves.

Clone this wiki locally