Skip to content

ArborX::BoundingVolumeHierarchy::empty

Damien L-G edited this page Jan 22, 2021 · 4 revisions

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.