Skip to content

ArborX::BoundingVolumeHierarchy::size

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

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.