Skip to content

ArborX::BoundingVolumeHierarchy::empty

Andrey Prokopenko edited this page Oct 28, 2024 · 6 revisions

ArborX / Spatial indexes / ArborX::BVH

ArborX::BVH<MemorySpace, Value, IndexableGetter, BoundingVolume>::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