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

◆ VolumeSphere() [1/3]

template<int tmplDim, typename TmplVec >
esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::VolumeSphere

◆ VolumeSphere() [2/3]

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

◆ VolumeSphere() [3/3]

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

Member Function Documentation

◆ calcVolume()

template<int tmplDim, typename TmplVec >
double esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::calcVolume

◆ getCentre()

template<int tmplDim, typename TmplVec >
const IntersectionVolCalculator< tmplDim, TmplVec >::Vec & esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::getCentre

◆ getRadius()

template<int tmplDim, typename TmplVec >
double esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::getRadius

◆ getSegmentVolume()

template<int tmplDim, typename TmplVec >
double esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::getSegmentVolume ( const Plane plane) const

◆ getVolume() [1/2]

template<int tmplDim, typename TmplVec >
double esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::getVolume

◆ getVolume() [2/2]

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

◆ intersectsWith()

template<int tmplDim, typename TmplVec >
bool esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::VolumeSphere::intersectsWith ( const Vec pt) const

◆ operator=()

Member Data Documentation

◆ m_sphere

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

◆ m_volume

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: