ArborX / Spatial indexes / ArborX::DistributedTree

ArborX::DistributedTree<MemorySpace, Value, IndexableGetter, BoundingVolume>::size()

size_type size() const noexcept;

Returns the global number of leaves in the tree.

Parameters

(none)

Return value

The global number of leaves in the tree.

Complexity

Constant.

See also

  • empty: checks whether the tree is empty.

  • bounds: returns a bounding volume that contains all leaves.