Overture  Version 25
Public Member Functions | Public Attributes | List of all members
BoundingBox Class Reference

#include <BoundingBox.h>

Collaboration diagram for BoundingBox:
Collaboration graph
[legend]

Public Member Functions

 BoundingBox (const int domainDimension=3, const int rangeDimension=3)
 
 ~BoundingBox ()
 
int & domainBound (int side, int axis)
 
realrangeBound (int side, int axis)
 
int domainBound (int side, int axis) const
 
real rangeBound (int side, int axis) const
 
IntegerArray getDomainBound () const
 
RealArray getRangeBound () const
 
int setDomainBound (const IntegerArray &db)
 
int setRangeBound (const RealArray &rb)
 
int domainBoundEquals (const BoundingBox &b)
 
int rangeBoundEquals (const BoundingBox &b)
 
bool isDefined () const
 
void setIsDefined ()
 
void setDimensions (const int domainDimension=3, const int rangeDimension=3)
 
void addChildren ()
 
void deleteChildren ()
 
void display (const aString &comment=nullString) const
 
bool intersects (const BoundingBox &box) const
 

Public Attributes

BoundingBoxparent
 
BoundingBoxchild1
 
BoundingBoxchild2
 

Constructor & Destructor Documentation

BoundingBox::BoundingBox ( const int  domainDimension = 3,
const int  rangeDimension = 3 
)

References child1, child2, FALSE, NULL, and parent.

Referenced by addChildren().

BoundingBox::~BoundingBox ( )

References child1, and child2.

Member Function Documentation

void BoundingBox::addChildren ( )
void BoundingBox::deleteChildren ( )

References child1, and child2.

void BoundingBox::display ( const aString comment = nullString) const
int& BoundingBox::domainBound ( int  side,
int  axis 
)
inline
int BoundingBox::domainBound ( int  side,
int  axis 
) const
inline
int BoundingBox::domainBoundEquals ( const BoundingBox b)
IntegerArray BoundingBox::getDomainBound ( ) const
RealArray BoundingBox::getRangeBound ( ) const

References r.

Referenced by DistributedInverse::computeBoundingBoxes().

bool BoundingBox::intersects ( const BoundingBox box) const
bool BoundingBox::isDefined ( ) const
inline
real& BoundingBox::rangeBound ( int  side,
int  axis 
)
inline
real BoundingBox::rangeBound ( int  side,
int  axis 
) const
inline
int BoundingBox::rangeBoundEquals ( const BoundingBox b)
void BoundingBox::setDimensions ( const int  domainDimension = 3,
const int  rangeDimension = 3 
)
int BoundingBox::setDomainBound ( const IntegerArray db)
void BoundingBox::setIsDefined ( )
inline
int BoundingBox::setRangeBound ( const RealArray rb)

References r.

Referenced by DistributedInverse::computeBoundingBoxes().

Member Data Documentation

BoundingBox* BoundingBox::child1
BoundingBox* BoundingBox::child2
BoundingBox* BoundingBox::parent

Referenced by addChildren(), and BoundingBox().


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