PPL Logo

bbox3d Class Reference

#include <bbox.h>

Collaboration diagram for bbox3d:

Collaboration graph
[legend]

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
rSeg1daxis (int i)
const rSeg1daxis (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]

Detailed Description

Definition at line 109 of file bbox.h.


Constructor & Destructor Documentation

bbox3d::bbox3d (  )  [inline]

Definition at line 112 of file bbox.h.

Referenced by getIntersection(), and getUnion().

Here is the caller graph for this function:

bbox3d::bbox3d ( const rSeg1d x,
const rSeg1d y,
const rSeg1d z 
) [inline]

Definition at line 113 of file bbox.h.

References segs.

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.

Here is the call graph for this function:


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

rSeg1d& bbox3d::axis ( int  i  )  [inline]

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().

Here is the caller graph for this function:

const rSeg1d& bbox3d::axis ( int  i  )  const [inline]

Definition at line 125 of file bbox.h.

References segs.

void bbox3d::add ( const CkVector3d b  )  [inline]

Definition at line 127 of file bbox.h.

References PUP::b, and segs.

Referenced by collideVoxel::collide(), CollideOctant::divide(), getBox(), getPrismBox(), getTriangleBox(), and CollideOctant::growTo().

Here is the caller graph for this function:

void bbox3d::add ( const bbox3d b  )  [inline]

Definition at line 130 of file bbox.h.

References PUP::b, and segs.

bbox3d bbox3d::getUnion ( const bbox3d b  )  [inline]

Definition at line 133 of file bbox.h.

References bbox3d(), seg1dT< T >::getUnion(), and segs.

Here is the call graph for this function:

bbox3d bbox3d::getIntersection ( const bbox3d b  )  [inline]

Definition at line 138 of file bbox.h.

References bbox3d(), seg1dT< T >::getIntersection(), and segs.

Here is the call graph for this function:

bool bbox3d::intersects ( const bbox3d b  )  const [inline]

Definition at line 144 of file bbox.h.

References segs.

Referenced by CollideOctant::addIfBoundary(), and CollideOctant::check().

Here is the caller graph for this function:

bool bbox3d::intersectsOpen ( const bbox3d b  )  const [inline]

Definition at line 150 of file bbox.h.

References segs.

Referenced by simpleFindCollisions().

Here is the caller graph for this function:

bool bbox3d::contains ( const CkVector3d b  )  const [inline]

Definition at line 156 of file bbox.h.

References segs.

Referenced by CollideOctant::check().

Here is the caller graph for this function:

bool bbox3d::containsOpen ( const CkVector3d b  )  const [inline]

Definition at line 162 of file bbox.h.

References segs.

Referenced by CollideOctant::check().

Here is the caller graph for this function:

bool bbox3d::containsHalf ( const CkVector3d b  )  const [inline]

Definition at line 168 of file bbox.h.

References segs.

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().

Here is the caller graph for this function:

void bbox3d::infinity ( void   )  [inline]

Definition at line 176 of file bbox.h.

References segs.

Referenced by collideVoxel::collide().

Here is the caller graph for this function:

bool bbox3d::isEmpty ( void   )  const [inline]

Definition at line 179 of file bbox.h.

References segs.

Referenced by CollideOctant::check().

Here is the caller graph for this function:

CkVector3d bbox3d::getSmallest ( void   )  const [inline]

Definition at line 183 of file bbox.h.

References segs.

Referenced by CollideOctant::check().

Here is the caller graph for this function:

void bbox3d::pup ( PUP::er p  )  [inline]

Definition at line 189 of file bbox.h.

References segs.


Field Documentation

rSeg1d bbox3d::segs[3] [private]


The documentation for this class was generated from the following files:

Generated on Mon Sep 21 08:17:50 2020 for Charm++ by  doxygen 1.5.5