Berserk
|
Axis-aligned 3d bounding box. More...
#include <TAabb.hpp>
Public Member Functions | |
TAabb ()=default | |
TAabb (const TVecN< T, 3 > &minv, const TVecN< T, 3 > &maxv) | |
TAabb (const TVecN< T, 3 > ¢er, T radius) | |
void | Fit (const TVecN< T, 3 > &p) |
void | Fit (const TAabb &aabb) |
bool | Contains (const TVecN< T, 3 > &p) const |
bool | Contains (const TAabb< T > &aabb) const |
void | GetPoints (T *points) const |
TVecN< T, 3 > | GetCenter () const |
TVecN< T, 3 > | GetExtent () const |
const TVecN< T, 3 > & | GetMin () const |
const TVecN< T, 3 > & | GetMax () const |
Axis-aligned 3d bounding box.
T | Type of internal values (float/double) |
|
inline |