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.