ESyS-Particle  4.0.1
Public Types | Public Member Functions | Static Public Attributes | List of all members
esys::lsm::impl::DimBasicSphere< tmplDim, TmplVec > Class Template Reference

Public Types

typedef TmplVec Vec
typedef DimPlane< tmplDim, Vec > Plane

Public Member Functions

 DimBasicSphere (const Vec &centrePt, double radius)
 DimBasicSphere (const DimBasicSphere &sphere)
DimBasicSphereoperator= (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

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