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)
Default constructor. Constructs an invalid box, i.e., the coordinates of the minCorner are larger than the coordinates of the maxCorner.
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¶
DIMmust be an integer greater than zeroCoordinatemust be must be a type that is default constructible