Skip to content

Geometries::Box::Box

Bruno Turcksin edited this page Feb 10, 2026 · 1 revision

ArborX / Geometries / ArborX::Box

ArborX::Box<DIM, Coordinate>::Box

KOKKOS_FUNCTION
constexpr Box(); // (1)

KOKKOS_FUNCTION
constexpr Box(ArborX::Point<DIM, Coordinate> const &minCorner, 
              ArborX::Point<DIM, Coordinate> const &maxCorner); // (2)
  1. Default constructor. Constructs an invalid box, i.e., the coordinates of the minCorner are larger than the coordinates of the maxCorner.
  2. Constructs a box from the given minimum (bottom left) corner and maximum (top right) corner.

Parameters

minCorner: minimum (bottom left) corner
maxCorner: maximum (top right) corner

Type requirements

  • DIM must be an integer greater than zero
  • Coordinate must be floating point`

Clone this wiki locally