Skip to content

v1 ArborX::BoundingVolumeHierarchy::size

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

ArborX / Spatial indexes / ArborX::BVH

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

KOKKOS_FUNCTION size_type size() const noexcept;

Returns the number of leaves in the tree.

Parameters

(none)

Return value

The number of leaves in the tree.

Complexity

Constant.

See also

empty : checks whether the tree is empty. bounds : returns the bounding volume that contains all leaves.

Clone this wiki locally