#include <bbox.h>
Public Member Functions | |
bbox3d () | |
bbox3d (const rSeg1d &x, const rSeg1d &y, const rSeg1d &z) | |
bbox3d (const CkVector3d &a, const CkVector3d &b, const CkVector3d &c) | |
void | print (const char *desc=NULL) const |
rSeg1d & | axis (int i) |
const rSeg1d & | axis (int i) const |
void | add (const CkVector3d &b) |
void | add (const bbox3d &b) |
bbox3d | getUnion (const bbox3d &b) |
bbox3d | getIntersection (const bbox3d &b) |
bool | intersects (const bbox3d &b) const |
bool | intersectsOpen (const bbox3d &b) const |
bool | contains (const CkVector3d &b) const |
bool | containsOpen (const CkVector3d &b) const |
bool | containsHalf (const CkVector3d &b) const |
void | empty (void) |
void | infinity (void) |
bool | isEmpty (void) const |
CkVector3d | getSmallest (void) const |
void | pup (PUP::er &p) |
Private Attributes | |
rSeg1d | segs [3] |
Definition at line 109 of file bbox.h.
bbox3d::bbox3d | ( | ) | [inline] |
Definition at line 112 of file bbox.h.
Referenced by getIntersection(), and getUnion().
bbox3d::bbox3d | ( | const CkVector3d & | a, | |
const CkVector3d & | b, | |||
const CkVector3d & | c | |||
) | [inline] |
Definition at line 115 of file bbox.h.
References seg1dT< T >::init(), and segs.
void bbox3d::print | ( | const char * | desc = NULL |
) | const |
Definition at line 26 of file collide_serial.C.
References axis(), and getMax().
Referenced by collideVoxel::collide(), and CollideOctant::print().
Definition at line 124 of file bbox.h.
References segs.
Referenced by CollisionAggregator::aggregate(), print(), simpleFindCollisions(), CollideOctant::x_inTerritory(), CollideOctant::y_inTerritory(), and CollideOctant::z_inTerritory().
void bbox3d::add | ( | const CkVector3d & | b | ) | [inline] |
Definition at line 127 of file bbox.h.
Referenced by collideVoxel::collide(), CollideOctant::divide(), getBox(), getPrismBox(), getTriangleBox(), and CollideOctant::growTo().
void bbox3d::add | ( | const bbox3d & | b | ) | [inline] |
Definition at line 133 of file bbox.h.
References bbox3d(), seg1dT< T >::getUnion(), and segs.
Definition at line 138 of file bbox.h.
References bbox3d(), seg1dT< T >::getIntersection(), and segs.
Definition at line 144 of file bbox.h.
References segs.
Referenced by CollideOctant::addIfBoundary(), and CollideOctant::check().
Definition at line 150 of file bbox.h.
References segs.
Referenced by simpleFindCollisions().
bool bbox3d::contains | ( | const CkVector3d & | b | ) | const [inline] |
Definition at line 156 of file bbox.h.
References segs.
Referenced by CollideOctant::check().
bool bbox3d::containsOpen | ( | const CkVector3d & | b | ) | const [inline] |
Definition at line 162 of file bbox.h.
References segs.
Referenced by CollideOctant::check().
bool bbox3d::containsHalf | ( | const CkVector3d & | b | ) | const [inline] |
void bbox3d::empty | ( | void | ) | [inline] |
Definition at line 173 of file bbox.h.
References segs.
Referenced by collideVoxel::collide(), CollideOctant::CollideOctant(), getBox(), getPrismBox(), and getTriangleBox().
void bbox3d::infinity | ( | void | ) | [inline] |
Definition at line 176 of file bbox.h.
References segs.
Referenced by collideVoxel::collide().
bool bbox3d::isEmpty | ( | void | ) | const [inline] |
Definition at line 179 of file bbox.h.
References segs.
Referenced by CollideOctant::check().
CkVector3d bbox3d::getSmallest | ( | void | ) | const [inline] |
Definition at line 183 of file bbox.h.
References segs.
Referenced by CollideOctant::check().
rSeg1d bbox3d::segs[3] [private] |
Definition at line 110 of file bbox.h.
Referenced by add(), axis(), bbox3d(), contains(), containsHalf(), containsOpen(), empty(), getIntersection(), getSmallest(), getUnion(), infinity(), intersects(), intersectsOpen(), isEmpty(), and pup().