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

#include <BoundingSphere.h>

Inheritance diagram for esys::lsm::BoundingSphere:
Collaboration diagram for esys::lsm::BoundingSphere:

Public Member Functions

 BoundingSphere ()
 BoundingSphere (const Vec3 &centre, double radius)
virtual ~BoundingSphere ()
const Vec3getCentre () const
double getRadius () const
BoundingBox getBBox () const
BoundingBox get2dBBox () const
bool operator== (const BoundingSphere &bSphere) const
bool contains (const Vec3 &pt, double tolerance=0.0) const
bool contains (const BoundingSphere &bSphere, double tolerance=0.0) const

Private Attributes

Vec3 m_centre
double m_radius

Constructor & Destructor Documentation

esys::lsm::BoundingSphere::BoundingSphere ( )
inline
esys::lsm::BoundingSphere::BoundingSphere ( const Vec3 centre,
double  radius 
)
inline
esys::lsm::BoundingSphere::~BoundingSphere ( )
inlinevirtual

Member Function Documentation

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

References getCentre(), and getRadius().

Here is the call graph for this function:

bool esys::lsm::BoundingSphere::contains ( const BoundingSphere bSphere,
double  tolerance = 0.0 
) const
inline

References getCentre(), and getRadius().

Here is the call graph for this function:

BoundingBox esys::lsm::BoundingSphere::get2dBBox ( ) const
inline

References getCentre(), and getRadius().

Here is the call graph for this function:

BoundingBox esys::lsm::BoundingSphere::getBBox ( ) const
inline

References getCentre(), and getRadius().

Here is the call graph for this function:

bool esys::lsm::BoundingSphere::operator== ( const BoundingSphere bSphere) const
inline

References getCentre(), and getRadius().

Here is the call graph for this function:

Member Data Documentation

Vec3 esys::lsm::BoundingSphere::m_centre
private

Referenced by getCentre().

double esys::lsm::BoundingSphere::m_radius
private

Referenced by getRadius().


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