|
ESyS-Particle
2.3.4
|
#include <IntersectionVolCalculator.h>

Public Types | |
| typedef TmplVec | Vec |
| typedef DimPlane< tmplDim, Vec > | Plane |
Public Member Functions | |
| DimBasicSphere () | |
| DimBasicSphere (const Vec ¢rePt, double radius) | |
| DimBasicSphere (const DimBasicSphere &sphere) | |
| DimBasicSphere & | operator= (const DimBasicSphere &sphere) |
| double | getRadius () const |
| const Vec & | getCentre () const |
| double | getVolume () const |
| double | getVolume (const Vec &minPt, const Vec &maxPt, const int dimX=0, const int dimY=1) const |
| bool | intersectsWith (const Vec &pt) const |
| double | getSegmentVolume (const Plane &plane) const |
Static Public Attributes | |
| static const double | FOUR_THIRDS_PI = (4.0/3.0)*M_PI |
| static const double | ONE_THIRD_PI = M_PI/3.0 |
Private Attributes | |
| Vec | m_centre |
| double | m_radius |
| typedef DimPlane<tmplDim, Vec> esys::lsm::impl::DimBasicSphere< tmplDim, TmplVec >::Plane |
| typedef TmplVec esys::lsm::impl::DimBasicSphere< tmplDim, TmplVec >::Vec |
| esys::lsm::impl::DimBasicSphere< tmplDim, TmplVec >::DimBasicSphere |
| esys::lsm::impl::DimBasicSphere< tmplDim, TmplVec >::DimBasicSphere | ( | const Vec & | centrePt, |
| double | radius | ||
| ) |
| esys::lsm::impl::DimBasicSphere< tmplDim, TmplVec >::DimBasicSphere | ( | const DimBasicSphere< tmplDim, TmplVec > & | sphere | ) |
| const DimBasicSphere< tmplDim, TmplVec >::Vec & esys::lsm::impl::DimBasicSphere< tmplDim, TmplVec >::getCentre |
| double esys::lsm::impl::DimBasicSphere< tmplDim, TmplVec >::getRadius |
| double esys::lsm::impl::DimBasicSphere< tmplDim, TmplVec >::getSegmentVolume | ( | const Plane & | plane | ) | const |
References esys::lsm::impl::DimPlane< tmplDim, TmplVec >::getSignedDistanceTo().

| double esys::lsm::impl::DimBasicSphere< tmplDim, TmplVec >::getVolume |
Referenced by esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::getVolume().

| double esys::lsm::impl::DimBasicSphere< tmplDim, TmplVec >::getVolume | ( | const Vec & | minPt, |
| const Vec & | maxPt, | ||
| const int | dimX = 0, |
||
| const int | dimY = 1 |
||
| ) | const |
| bool esys::lsm::impl::DimBasicSphere< tmplDim, TmplVec >::intersectsWith | ( | const Vec & | pt | ) | const |
References esys::lsm::impl::square().
Referenced by esys::lsm::impl::IntersectionVolCalculator< tmplDim, TmplVec >::sphereContainsBox().


| DimBasicSphere< tmplDim, TmplVec > & esys::lsm::impl::DimBasicSphere< tmplDim, TmplVec >::operator= | ( | const DimBasicSphere< tmplDim, TmplVec > & | sphere | ) |
|
static |
|
private |
|
private |
|
static |