ESyS-Particle  2.3.4
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

◆ BoundingSphere() [1/2]

esys::lsm::BoundingSphere::BoundingSphere ( )
inline

◆ BoundingSphere() [2/2]

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

◆ ~BoundingSphere()

esys::lsm::BoundingSphere::~BoundingSphere ( )
inlinevirtual

Member Function Documentation

◆ contains() [1/2]

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:

◆ contains() [2/2]

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:

◆ get2dBBox()

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

References getCentre(), and getRadius().

Here is the call graph for this function:

◆ getBBox()

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

References getCentre(), and getRadius().

Here is the call graph for this function:

◆ getCentre()

◆ getRadius()

◆ operator==()

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

References getCentre(), and getRadius().

Referenced by esys::lsm::BoundingSpherePy::operator==().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_centre

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

Referenced by getCentre().

◆ m_radius

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

Referenced by getRadius().


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