ESyS-Particle  2.3.2
esys::lsm::SolidBoxPy Class Reference
Inheritance diagram for esys::lsm::SolidBoxPy:
Collaboration diagram for esys::lsm::SolidBoxPy:

Public Member Functions

 SolidBoxPy ()
 SolidBoxPy (const Vec3Py &minPt, const Vec3Py &maxPt)
 SolidBoxPy (const SolidBoxPy &box)
 SolidBoxPy (const BoundingBoxPy &box)
 SolidBoxPy (const BoundingBox &box)
bool intersectsWithSphere (const Vec3 &centre, double radius) const
bool intersectsWithSpherePy (const Vec3Py &centre, double radius) const
bool intersects (const SimpleSpherePy &p) const
- Public Member Functions inherited from esys::lsm::BoundingBoxPy
 BoundingBoxPy ()
 BoundingBoxPy (const Vec3Py &minPt, const Vec3Py &maxPt)
 BoundingBoxPy (const Vec3 &minPt, const Vec3 &maxPt)
 BoundingBoxPy (const BoundingBoxPy &v)
 BoundingBoxPy (const BoundingBox &v)
 BoundingBoxPy (const boost::python::object &pyMin, const boost::python::object &pyMax)
bool operator== (const BoundingBoxPy &bBox) const
Vec3Py getMinPtPy () const
Vec3Py getMaxPtPy () const
Vec3Py getSizePy () const
Vec3Py getCentrePy () const
bool intersectsWithVec3Py (const Vec3Py &pt) const
- Public Member Functions inherited from esys::lsm::BoundingBox
 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

Constructor & Destructor Documentation

esys::lsm::SolidBoxPy::SolidBoxPy ( )
inline
esys::lsm::SolidBoxPy::SolidBoxPy ( const Vec3Py minPt,
const Vec3Py maxPt 
)
inline
esys::lsm::SolidBoxPy::SolidBoxPy ( const SolidBoxPy box)
inline
esys::lsm::SolidBoxPy::SolidBoxPy ( const BoundingBoxPy box)
inline
esys::lsm::SolidBoxPy::SolidBoxPy ( const BoundingBox box)
inline

Member Function Documentation

bool esys::lsm::SolidBoxPy::intersects ( const SimpleSpherePy p) const
inline

References SimpleParticle::getPos(), SimpleParticle::getRad(), and intersectsWithSphere().

Referenced by esys::lsm::exportMisc().

Here is the call graph for this function:

Here is the caller graph for this function:

bool esys::lsm::SolidBoxPy::intersectsWithSphere ( const Vec3 centre,
double  radius 
) const
inline

Arvo's algorithm for axis-aligned solid-box/solid-sphere intersection.

References esys::lsm::BoundingBox::getMaxPt(), and esys::lsm::BoundingBox::getMinPt().

Referenced by intersects(), and intersectsWithSpherePy().

Here is the call graph for this function:

Here is the caller graph for this function:

bool esys::lsm::SolidBoxPy::intersectsWithSpherePy ( const Vec3Py centre,
double  radius 
) const
inline

References intersectsWithSphere().

Referenced by esys::lsm::exportMisc().

Here is the call graph for this function:

Here is the caller graph for this function:


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