ESyS-Particle  2.3
SphereBoxVolCalculator.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-2014 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 
14 #ifndef ESYS_LSMSPHEREBOXVOLCALCULATOR_H
15 #define ESYS_LSMSPHEREBOXVOLCALCULATOR_H
16 
17 #include "Foundation/vec3.h"
19 
20 namespace esys
21 {
22  namespace lsm
23  {
29  {
30  public:
35  const Box &box
36  ) : Inherited(box)
37  {
38  }
39 
40  double getVolume(const Sphere &sphere)
41  {
42  return Inherited::getVolume(sphere);
43  }
44 
45  private:
46  };
47  }
48 }
49 #endif
Definition: SphereBoxVolCalculator.h:28
Definition: IntersectionVolCalculator.h:28
Definition: CheckPointable.cpp:16
Inherited::BasicSphere Sphere
Definition: SphereBoxVolCalculator.h:32
impl::IntersectionVolCalculator< 3, Vec3 > Inherited
Definition: SphereBoxVolCalculator.h:31
Inherited::BasicBox Box
Definition: SphereBoxVolCalculator.h:33
double getVolume(const Sphere &sphere)
Definition: SphereBoxVolCalculator.h:40
Definition: IntersectionVolCalculator.h:119
SphereBoxVolCalculator(const Box &box)
Definition: SphereBoxVolCalculator.h:34