ESyS-Particle  2.3.2
esys::lsm::SphereBoxVolCalculator Class Reference

#include <SphereBoxVolCalculator.h>

Inheritance diagram for esys::lsm::SphereBoxVolCalculator:
Collaboration diagram for esys::lsm::SphereBoxVolCalculator:

Public Types

< 3, Vec3
typedef Inherited::BasicSphere Sphere
typedef Inherited::BasicBox Box
- Public Types inherited from esys::lsm::impl::IntersectionVolCalculator< 3, Vec3 >
typedef Vec3 Vec
typedef DimBasicSphere
< tmplDim, Vec
typedef DimBasicBox< tmplDim, VecBasicBox
typedef DimPlane< tmplDim, VecPlane

Public Member Functions

 SphereBoxVolCalculator (const Box &box)
double getVolume (const Sphere &sphere)
- Public Member Functions inherited from esys::lsm::impl::IntersectionVolCalculator< 3, Vec3 >
 IntersectionVolCalculator (const BasicBox &box)
const VolumeSphere & getSphere () const
void setSphere (const BasicSphere &sphere)
const BasicBoxgetBox () const
const VertexBox & getVertexBox () const
double getInsidePointVolume (const Vec &pt) const
double getTwoPlaneVolume (const Vec &pt, const int orientDim) const
double getOutsidePointVolume (const Vec &pt) const
double getVolume (const Vertex &vtx)
double getVertexVolume (const BasicSphere &sphere)
bool sphereContainsBox (const BasicSphere &sphere) const

Additional Inherited Members

- Static Public Member Functions inherited from esys::lsm::impl::IntersectionVolCalculator< 3, Vec3 >
static Vec getNormal (int dim)
static Vec getNegNormal (int dim)
static Vec componentMin (const Vec &p1, const Vec &p2)
static Vec componentMax (const Vec &p1, const Vec &p2)

Detailed Description

Calculates the volume of intersection between a box and a sphere.

Member Typedef Documentation

Constructor & Destructor Documentation

esys::lsm::SphereBoxVolCalculator::SphereBoxVolCalculator ( const Box box)

Member Function Documentation

double esys::lsm::SphereBoxVolCalculator::getVolume ( const Sphere sphere)

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