ESyS-Particle  2.3
esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere Class Reference

#include <IntersectionVolCalculator.h>

Collaboration diagram for esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere:

Public Member Functions

 VolumeSphere ()
 
 VolumeSphere (const BasicSphere &sphere)
 
 VolumeSphere (const VolumeSphere &sphere)
 
VolumeSphereoperator= (const VolumeSphere &sphere)
 
double getRadius () const
 
const VecgetCentre () const
 
double getVolume () const
 
double getVolume (const Vec &minPt, const Vec &maxPt, const int dimX=0, const int dimY=1) const
 
double calcVolume () const
 
bool intersectsWith (const Vec &pt) const
 
double getSegmentVolume (const Plane &plane) const
 

Private Attributes

BasicSphere m_sphere
 
double m_volume
 

Constructor & Destructor Documentation

template<int tmplDim, typename TmplVec >
esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::VolumeSphere ( )
template<int tmplDim, typename TmplVec >
esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::VolumeSphere ( const BasicSphere sphere)
template<int tmplDim, typename TmplVec >
esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::VolumeSphere ( const VolumeSphere sphere)

Member Function Documentation

template<int tmplDim, typename TmplVec >
double esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::calcVolume ( ) const
template<int tmplDim, typename TmplVec >
const IntersectionVolCalculator< tmplDim, TmplVec >::Vec & esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::getCentre ( ) const
template<int tmplDim, typename TmplVec >
double esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::getRadius ( ) const
template<int tmplDim, typename TmplVec >
double esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::getSegmentVolume ( const Plane plane) const
template<int tmplDim, typename TmplVec >
double esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::getVolume ( ) const
template<int tmplDim, typename TmplVec >
double esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::getVolume ( const Vec minPt,
const Vec maxPt,
const int  dimX = 0,
const int  dimY = 1 
) const
template<int tmplDim, typename TmplVec >
bool esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::intersectsWith ( const Vec pt) const

Member Data Documentation

template<int tmplDim, typename TmplVec>
BasicSphere esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::m_sphere
private
template<int tmplDim, typename TmplVec>
double esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::m_volume
private

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