Skip to content

Geometries::Point::access_operator

Bruno Turcksin edited this page Mar 27, 2026 · 2 revisions

ArborX / Geometries / ArborX::Point

ArborX::Point<DIM, Coordinate>::operator[]

KOKKOS_FUNCTION
constexpr auto &operator[](unsigned int i); // (1)

KOKKOS_FUNCTION
constexpr auto const &operator[](unsigned int i) const; // (2)
  1. Returns a reference to the element located in i. This can be used to modify the coordinates of the point.
  2. Returns a constant reference to the element located in i.

Clone this wiki locally