ArborX / Spatial indexes / ArborX::BruteForce

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

KOKKOS_FUNCTION size_type size() const noexcept;

Returns the number of elements in the data structure.

Parameters

(none)

Return value

The number of elements in the data structure.

Complexity

Constant.

See also

  • empty: checks whether the data structure is empty.