ESyS-Particle
4.0.1
|
#include <SphereBoxVolCalculator.h>
Public Types | |
typedef impl::IntersectionVolCalculator < 3, Vec3 > | Inherited |
typedef Inherited::BasicSphere | Sphere |
typedef Inherited::BasicBox | Box |
![]() | |
typedef Vec3 | Vec |
typedef DimBasicSphere < tmplDim, Vec > | BasicSphere |
typedef DimBasicBox< tmplDim, Vec > | BasicBox |
typedef DimPlane< tmplDim, Vec > | Plane |
Public Member Functions | |
SphereBoxVolCalculator (const Box &box) | |
double | getVolume (const Sphere &sphere) |
![]() | |
IntersectionVolCalculator (const BasicBox &box) | |
const VolumeSphere & | getSphere () const |
void | setSphere (const BasicSphere &sphere) |
const BasicBox & | getBox () 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 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) |
Calculates the volume of intersection between a box and a sphere.