Overture
Version 25
|
#include <BoundingBox.h>
Public Member Functions | |
BoundingBox (const int domainDimension=3, const int rangeDimension=3) | |
~BoundingBox () | |
int & | domainBound (int side, int axis) |
real & | rangeBound (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 | |
BoundingBox * | parent |
BoundingBox * | child1 |
BoundingBox * | child2 |
BoundingBox::BoundingBox | ( | const int | domainDimension = 3 , |
const int | rangeDimension = 3 |
||
) |
void BoundingBox::addChildren | ( | ) |
References BoundingBox(), child1, child2, and parent.
Referenced by ApproximateGlobalInverse::initializeBoundingBoxTrees().
void BoundingBox::display | ( | const aString & | comment = nullString | ) | const |
|
inline |
Referenced by ApproximateGlobalInverse::binarySearchOverBoundary(), DistributedInverse::computeBoundingBoxes(), ApproximateGlobalInverse::countCrossingsWithPolygon(), IntersectionMapping::determineIntersection(), ApproximateGlobalInverse::initializeBoundingBoxTrees(), and IntersectionMapping::intersectCurves().
|
inline |
int BoundingBox::domainBoundEquals | ( | const BoundingBox & | b | ) |
Referenced by ApproximateGlobalInverse::initializeBoundingBoxTrees().
IntegerArray BoundingBox::getDomainBound | ( | ) | const |
RealArray BoundingBox::getRangeBound | ( | ) | const |
References r.
Referenced by DistributedInverse::computeBoundingBoxes().
bool BoundingBox::intersects | ( | const BoundingBox & | box | ) | const |
References assert, axis1, axis2, axis3, End, FALSE, and Start.
Referenced by IntersectionMapping::determineIntersection(), IntersectionMapping::intersectCurves(), and Mapping::intersects().
|
inline |
Referenced by ApproximateGlobalInverse::initializeBoundingBoxTrees().
|
inline |
Referenced by ApproximateGlobalInverse::binarySearchOverBoundary(), ApproximateGlobalInverse::countCrossingsWithPolygon(), Mapping::findNearestGridPoint(), ApproximateGlobalInverse::initialize(), ApproximateGlobalInverse::initializeBoundingBoxTrees(), Mapping::intersects(), and Mapping::inverseMapS().
|
inline |
int BoundingBox::rangeBoundEquals | ( | const BoundingBox & | b | ) |
void BoundingBox::setDimensions | ( | const int | domainDimension = 3 , |
const int | rangeDimension = 3 |
||
) |
Referenced by ApproximateGlobalInverse::initializeBoundingBoxTrees(), and Mapping::intersects().
int BoundingBox::setDomainBound | ( | const IntegerArray & | db | ) |
Referenced by ApproximateGlobalInverse::initializeBoundingBoxTrees().
|
inline |
References TRUE.
Referenced by ApproximateGlobalInverse::initializeBoundingBoxTrees().
int BoundingBox::setRangeBound | ( | const RealArray & | rb | ) |
References r.
Referenced by DistributedInverse::computeBoundingBoxes().
BoundingBox* BoundingBox::child1 |
Referenced by addChildren(), ApproximateGlobalInverse::binarySearchOverBoundary(), BoundingBox(), ApproximateGlobalInverse::countCrossingsWithPolygon(), IntersectionMapping::createBoundingBox(), deleteChildren(), IntersectionMapping::destroyBoundingBox(), IntersectionMapping::determineIntersection(), display(), ApproximateGlobalInverse::initializeBoundingBoxTrees(), IntersectionMapping::intersectCurves(), and ~BoundingBox().
BoundingBox* BoundingBox::child2 |
Referenced by addChildren(), ApproximateGlobalInverse::binarySearchOverBoundary(), BoundingBox(), ApproximateGlobalInverse::countCrossingsWithPolygon(), IntersectionMapping::createBoundingBox(), deleteChildren(), IntersectionMapping::destroyBoundingBox(), IntersectionMapping::determineIntersection(), display(), ApproximateGlobalInverse::initializeBoundingBoxTrees(), IntersectionMapping::intersectCurves(), and ~BoundingBox().
BoundingBox* BoundingBox::parent |
Referenced by addChildren(), and BoundingBox().