ESyS-Particle  2.3
BoundingSpherePy.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_LSMBOUNDINGSPHEREPY_H
15 #define ESYS_LSMBOUNDINGSPHEREPY_H
16 
17 #include <boost/python.hpp>
19 #include "Foundation/StringUtil.h"
22 
23 #include <sstream>
24 
25 namespace esys
26 {
27  namespace lsm
28  {
30  {
31  public:
33 
34  BoundingSpherePy(const Vec3Py &centrePt, double radius);
35 
36  BoundingSpherePy(const Vec3 &centrePt, double radius);
37 
39 
41 
42  BoundingSpherePy(const boost::python::object &pyCentre, double radius);
43 
44  bool operator==(const BoundingSpherePy &bBox) const;
45 
46  Vec3Py getCentrePy() const;
47  };
48 
49  void exportBoundingSphere();
50  }
51 }
52 
53 std::ostream &operator<<(std::ostream &oStream, const esys::lsm::BoundingSpherePy &vec);
54 
55 #endif
Vec3Py getCentrePy() const
Definition: BoundingSpherePy.cpp:72
Definition: vec3.h:46
BoundingSpherePy()
Definition: BoundingSpherePy.cpp:27
void exportBoundingSphere()
Definition: BoundingSpherePy.cpp:89
Definition: CheckPointable.cpp:16
Definition: BoundingSpherePy.h:29
bool operator==(const BoundingSpherePy &bBox) const
Definition: BoundingSpherePy.cpp:67
Definition: Vec3Py.h:28
std::ostream & operator<<(std::ostream &oStream, const esys::lsm::BoundingSpherePy &vec)
Definition: BoundingSpherePy.cpp:148
Definition: BoundingSphere.h:27