ESyS-Particle  4.0.1
SphereBoxVolCalculator.h
1 
2 // //
3 // Copyright (c) 2003-2011 by The University of Queensland //
4 // Earth Systems Science Computational Centre (ESSCC) //
5 // http://www.uq.edu.au/esscc //
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"
18 #include "Geometry/IntersectionVolCalculator.h"
19 
20 namespace esys
21 {
22  namespace lsm
23  {
29  {
30  public:
33  typedef Inherited::BasicBox Box;
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