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

#include <CircleBoxVolCalculator.h>

Inheritance diagram for esys::lsm::CircleBoxVolCalculator:
Collaboration diagram for esys::lsm::CircleBoxVolCalculator:

Public Types

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

Public Member Functions

 CircleBoxVolCalculator (const Box &box)
double getVolume (const Sphere &sphere)
- Public Member Functions inherited from esys::lsm::impl::IntersectionVolCalculator< 2, 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< 2, 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 area of intersection between a rectangle and a circle.

Member Typedef Documentation

Constructor & Destructor Documentation

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

Member Function Documentation

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

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