Skip to content

ArborX::BoundingVolumeHierarchy::empty

Andrey Prokopenko edited this page Oct 28, 2024 · 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