0.44.0
|
#include <iAABox.h>
Public Member Functions | |
iAABox ()=default | |
iAABox (const iaVector3< T > ¢er, const iaVector3< T > &halfWidths) | |
void | setMinMax (const iaVector3< T > &min, const iaVector3< T > &max) |
void | getMinMax (iaVector3< T > &min, iaVector3< T > &max) |
Static Public Member Functions | |
static iAABox< T > | fromMinMax (const iaVector3< T > &min, const iaVector3< T > &max) |
Public Attributes | |
iaVector3< T > | _center |
iaVector3< T > | _halfWidths |
Axis aligned box
|
default |
does nothing
iAABox::iAABox | ( | const iaVector3< T > & | center, |
const iaVector3< T > & | halfWidths | ||
) |
init members constructor
center | center of box |
halfWidths | halfWidths of box in all axis |
|
static |
creates iAABox from min max values
min | min vector for aa box |
max | max vector for aa box |
void iAABox::getMinMax | ( | iaVector3< T > & | min, |
iaVector3< T > & | max | ||
) |
returns min, max values
[out] | min | the min value |
[out] | max | the max value |
void iAABox::setMinMax | ( | const iaVector3< T > & | min, |
const iaVector3< T > & | max | ||
) |
sets min max values of aabox
min | min vector for aa box |
max | max vector for aa box |
iaVector3<T> igor::iAABox< T >::_center |
center of of box
iaVector3<T> igor::iAABox< T >::_halfWidths |
half widths for all axis