ArborX / Spatial indexes / ArborX::BruteForce

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

KOKKOS_FUNCTION bool empty() const noexcept;

Checks if the data structure has no elements.

Parameters

(none)

Return value

true if the data structure is empty, false otherwise.

Complexity

Constant.

See also

  • size: returns the number of elements.