ESyS-Particle  2.3.2
esys::lsm::BoundingBox Class Reference

3D bounding box More...

#include <BoundingBox.h>

Inheritance diagram for esys::lsm::BoundingBox:
Collaboration diagram for esys::lsm::BoundingBox:

Public Member Functions

 BoundingBox ()
 BoundingBox (const Vec3 &minBBoxPt, const Vec3 &maxBBoxPt)
virtual ~BoundingBox ()
double getVolume () const
const Vec3getMinPt () const
const Vec3getMaxPt () const
bool operator== (const BoundingBox &bbox) const
Vec3 getSizes () const
bool contains (const Vec3 &pt, double tolerance=0.0) const

Private Attributes

Vec3 m_minPt
Vec3 m_maxPt

Detailed Description

3D bounding box

Constructor & Destructor Documentation

esys::lsm::BoundingBox::BoundingBox ( )
inline
esys::lsm::BoundingBox::BoundingBox ( const Vec3 minBBoxPt,
const Vec3 maxBBoxPt 
)
inline
esys::lsm::BoundingBox::~BoundingBox ( )
inlinevirtual

Member Function Documentation

bool esys::lsm::BoundingBox::contains ( const Vec3 pt,
double  tolerance = 0.0 
) const
inline

References getMaxPt(), getMinPt(), Vec3::X(), Vec3::Y(), and Vec3::Z().

Referenced by esys::lsm::BoundingBoxPy::intersectsWithVec3Py(), and esys::lsm::BlockGenerator::particleFitsInBBox().

Here is the call graph for this function:

Here is the caller graph for this function:

const Vec3 & esys::lsm::BoundingBox::getMaxPt ( ) const
inline

References m_maxPt.

Referenced by contains(), esys::lsm::GougeBlockPrms::cutFromCentre(), esys::lsm::GougeConfigPrms< TmplParticleGrainGen >::cutFromCentre(), esys::lsm::GougeBlock3D::generate(), esys::lsm::RandomBlockGenerator::generateFillParticles(), esys::lsm::SphAggGougeBlock::generateMacroGrains(), esys::lsm::GranularGougeBlock3D::generateSeeds(), esys::lsm::BoundingBoxPy::getCentrePy(), esys::lsm::GougeConfigPy::getDomainBoundingBox(), esys::lsm::GougeBlockPrms::getFaultPackingInfoVector(), esys::lsm::GougeConfigPrms< TmplParticleGrainGen >::getFaultPackingInfoVector(), esys::lsm::GougeBlockPrms::getGougePackingInfoVector(), esys::lsm::GougeConfigPrms< TmplParticleGrainGen >::getGougePackingInfoVector(), esys::lsm::BoundingBoxPy::getMaxPtPy(), esys::lsm::CircularNeighbourTable< TmplParticle >::getModdedPosn(), esys::lsm::BoundingBoxPy::getSizePy(), getSizes(), esys::lsm::GridIterator::getSphereBBox(), esys::lsm::GougeBlock3D::GougeBlock3D(), esys::lsm::GougeConfig< TmplGrainRandomBoxPacker, TmplParticleRandomBoxPacker, TmplConnection >::GougeConfig(), esys::lsm::GridIterator::GridIterator(), esys::lsm::SolidBoxPy::intersectsWithSphere(), esys::lsm::HollowBoxPy::intersectsWithSphere(), esys::lsm::operator<<(), operator<<(), operator==(), esys::lsm::BoundingBoxPy::operator==(), esys::lsm::LsmMpiPy::setBBoxSpatialDomain(), esys::lsm::LsmMpiPy::setBBoxSpatialDomainWithCirc(), CheckPointController::setSpatialDomain(), esys::lsm::SphAggGougeBlock::setupNT2(), esys::lsm::GougeBlock3D::tagDrivingPlateParticles(), and esys::lsm::GougeConfig< TmplGrainRandomBoxPacker, TmplParticleRandomBoxPacker, TmplConnection >::tagDrivingPlateParticles().

Here is the caller graph for this function:

const Vec3 & esys::lsm::BoundingBox::getMinPt ( ) const
inline

References m_minPt.

Referenced by contains(), esys::lsm::GougeBlockPrms::cutFromCentre(), esys::lsm::GougeConfigPrms< TmplParticleGrainGen >::cutFromCentre(), esys::lsm::GougeBlock3D::generate(), esys::lsm::RandomBlockGenerator::generateFillParticles(), esys::lsm::SphAggGougeBlock::generateMacroGrains(), esys::lsm::GranularGougeBlock3D::generateSeeds(), esys::lsm::BoundingBoxPy::getCentrePy(), esys::lsm::GougeConfigPy::getDomainBoundingBox(), esys::lsm::GougeBlockPrms::getFaultPackingInfoVector(), esys::lsm::GougeConfigPrms< TmplParticleGrainGen >::getFaultPackingInfoVector(), esys::lsm::GougeBlockPrms::getGougePackingInfoVector(), esys::lsm::GougeConfigPrms< TmplParticleGrainGen >::getGougePackingInfoVector(), esys::lsm::NeighbourTable< TmplParticle >::getMinPt(), esys::lsm::CartesianGrid< Tensor >::getMinPt(), esys::lsm::BoundingBoxPy::getMinPtPy(), esys::lsm::CircularNeighbourTable< TmplParticle >::getModdedPosn(), esys::lsm::GridIterator::getPoint(), esys::lsm::BoundingBoxPy::getSizePy(), getSizes(), esys::lsm::GridIterator::getSphereBBox(), esys::lsm::GougeBlock3D::GougeBlock3D(), esys::lsm::GougeConfig< TmplGrainRandomBoxPacker, TmplParticleRandomBoxPacker, TmplConnection >::GougeConfig(), esys::lsm::GridIterator::GridIterator(), esys::lsm::SolidBoxPy::intersectsWithSphere(), esys::lsm::HollowBoxPy::intersectsWithSphere(), esys::lsm::operator<<(), operator<<(), operator==(), esys::lsm::BoundingBoxPy::operator==(), esys::lsm::LsmMpiPy::setBBoxSpatialDomain(), esys::lsm::LsmMpiPy::setBBoxSpatialDomainWithCirc(), CheckPointController::setSpatialDomain(), esys::lsm::SphAggGougeBlock::setupNT2(), esys::lsm::GougeBlock3D::tagDrivingPlateParticles(), and esys::lsm::GougeConfig< TmplGrainRandomBoxPacker, TmplParticleRandomBoxPacker, TmplConnection >::tagDrivingPlateParticles().

Here is the caller graph for this function:

double esys::lsm::BoundingBox::getVolume ( ) const
inline

References m_maxPt, m_minPt, Vec3::X(), Vec3::Y(), and Vec3::Z().

Here is the call graph for this function:

bool esys::lsm::BoundingBox::operator== ( const BoundingBox bbox) const
inline

References getMaxPt(), and getMinPt().

Here is the call graph for this function:

Member Data Documentation

Vec3 esys::lsm::BoundingBox::m_maxPt
private

Referenced by getMaxPt(), and getVolume().

Vec3 esys::lsm::BoundingBox::m_minPt
private

Referenced by getMinPt(), and getVolume().


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