MeshLib C++ Docs
Loading...
Searching...
No Matches

#include <MRMesh/MRAABBTreeSimd.h>

Inheritance diagram for MR::AABBTreeSimdBoxes:

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]

Detailed Description

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)

Constructor & Destructor Documentation

◆ AABBTreeSimdBoxes() [1/2]

MR::AABBTreeSimdBoxes::AABBTreeSimdBoxes ( )
default

◆ AABBTreeSimdBoxes() [2/2]

MR::AABBTreeSimdBoxes::AABBTreeSimdBoxes ( NoInit )
inlineexplicitnoexcept

Member Function Documentation

◆ get()

Box3f MR::AABBTreeSimdBoxes::get ( int i) const
inlinenodiscard

returns i-th box

◆ getUnion()

Box3f MR::AABBTreeSimdBoxes::getUnion ( ) const
inlinenodiscard

returns the union of all four boxes (as Box3f::include of them in their order)

◆ set()

void MR::AABBTreeSimdBoxes::set ( int i,
const Box3f & b )
inline

sets i-th box

◆ setEmpty()

void MR::AABBTreeSimdBoxes::setEmpty ( int i)
inline

makes i-th box empty

Member Data Documentation

◆ box

float MR::AABBTreeSimdBoxes::box[6][4]

The documentation for this struct was generated from the following file: