#include <bbox.h>
Public Member Functions | |
seg1dT (void) | |
seg1dT (T Nmin, T Nmax) | |
void | init (T a, T b, T c) |
T | getMin (void) const |
T | getMax (void) const |
void | setMin (T m) |
void | setMax (T m) |
seg1d & | empty (void) |
seg1d & | infinity (void) |
bool | isEmpty (void) const |
seg1d & | set (T b) |
seg1d & | set (T a, T b) |
void | expandMin (T b) |
void | expandMax (T b) |
seg1d & | add (T b) |
seg1d & | add (const seg1d &b) |
seg1d | getIntersection (const seg1d &b) const |
seg1d | getUnion (const seg1d &b) const |
bool | contains (T b) const |
bool | containsOpen (T b) const |
bool | containsHalf (T b) const |
bool | intersects (const seg1d &b) const |
bool | intersectsOpen (const seg1d &b) const |
bool | intersectsHalf (const seg1d &b) const |
void | pup (PUP::er &p) |
Private Types | |
typedef seg1dT< T > | seg1d |
Private Attributes | |
T | min |
T | max |
Definition at line 16 of file bbox.h.
void seg1dT< T >::init | ( | T | a, | |
T | b, | |||
T | c | |||
) | [inline] |
Definition at line 23 of file bbox.h.
Referenced by bbox3d::bbox3d().
T seg1dT< T >::getMin | ( | void | ) | const [inline] |
Definition at line 28 of file bbox.h.
Referenced by CollisionAggregator::aggregate(), CollideGrid3d::grid2world(), print(), simpleFindCollisions(), and CollideGrid3d::world2grid().
T seg1dT< T >::getMax | ( | void | ) | const [inline] |
Definition at line 29 of file bbox.h.
Referenced by CollisionAggregator::aggregate(), CollideGrid3d::grid2world(), print(), and CollideGrid3d::world2grid().
void seg1dT< T >::expandMin | ( | T | b | ) | [inline] |
Definition at line 52 of file bbox.h.
Referenced by seg1dT< double >::add().
void seg1dT< T >::expandMax | ( | T | b | ) | [inline] |
Definition at line 53 of file bbox.h.
Referenced by seg1dT< double >::add().
Definition at line 54 of file bbox.h.
Referenced by collideVoxel::collideVoxel().
Definition at line 65 of file bbox.h.
Referenced by bbox3d::getIntersection().
Definition at line 69 of file bbox.h.
Referenced by bbox3d::getUnion().
Definition at line 75 of file bbox.h.
Referenced by seg1dT< double >::intersects().
Definition at line 80 of file bbox.h.
Referenced by seg1dT< double >::intersectsOpen().
Definition at line 85 of file bbox.h.
Referenced by seg1dT< double >::intersectsHalf(), seg1dT< double >::intersectsOpen(), CollideOctant::x_inTerritory(), CollideOctant::y_inTerritory(), and CollideOctant::z_inTerritory().
Definition at line 18 of file bbox.h.
Referenced by seg1dT< double >::contains(), seg1dT< double >::containsHalf(), seg1dT< double >::containsOpen(), seg1dT< double >::empty(), seg1dT< double >::expandMin(), seg1dT< double >::getIntersection(), seg1dT< double >::getMin(), seg1dT< double >::infinity(), seg1dT< double >::init(), seg1dT< double >::intersects(), seg1dT< double >::intersectsHalf(), seg1dT< double >::intersectsOpen(), seg1dT< double >::isEmpty(), seg1dT< double >::pup(), seg1dT< double >::set(), and seg1dT< double >::setMin().
Definition at line 18 of file bbox.h.
Referenced by seg1dT< double >::contains(), seg1dT< double >::containsHalf(), seg1dT< double >::containsOpen(), seg1dT< double >::empty(), seg1dT< double >::expandMax(), seg1dT< double >::getIntersection(), seg1dT< double >::getMax(), seg1dT< double >::getUnion(), seg1dT< double >::infinity(), seg1dT< double >::init(), seg1dT< double >::isEmpty(), seg1dT< double >::pup(), seg1dT< double >::set(), and seg1dT< double >::setMax().