#include <MRMesh/MRAABBTreeSimd.h>
Public Member Functions | |
| AABBTreeSimdBoxes ()=default | |
| AABBTreeSimdBoxes (NoInit) noexcept | |
| Box3f | get (int i) const |
| returns i-th box | |
| void | set (int i, const Box3f &b) |
| sets i-th box | |
| void | setEmpty (int i) |
| makes i-th box empty | |
| Box3f | getUnion () const |
| returns the union of all four boxes (as Box3f::include of them in their order) | |
Public Attributes | |
| float | box [6][4] |
four boxes in SoA order: [0..2][i] - min x,y,z of i-th box, [3..5][i] - its max x,y,z; the unused slots have empty boxes (min = +inf, max = -inf)
|
default |
|
inlineexplicitnoexcept |
|
inlinenodiscard |
returns i-th box
|
inlinenodiscard |
returns the union of all four boxes (as Box3f::include of them in their order)
|
inline |
sets i-th box
|
inline |
makes i-th box empty
| float MR::AABBTreeSimdBoxes::box[6][4] |