-
Notifications
You must be signed in to change notification settings - Fork 46
Geometries::Box::Box
Andrey Prokopenko edited this page Mar 30, 2026
·
2 revisions
ArborX / Geometries / ArborX::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.
minCorner: minimum (bottom left) corner
maxCorner: maximum (top right) corner
-
DIMmust be an integer greater than zero -
Coordinatemust be must be a type that is default constructible