ESyS-Particle  2.3.4
BoundingSpherePy.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-2017 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.apache.org/licenses/LICENSE-2.0 //
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
Util.h
boost::python
Definition: BondInteractionGroupPy.h:22
esys::lsm::exportBoundingSphere
void exportBoundingSphere()
Definition: BoundingSpherePy.cpp:89
operator<<
std::ostream & operator<<(std::ostream &oStream, const esys::lsm::BoundingSpherePy &vec)
Definition: BoundingSpherePy.cpp:148
esys::lsm::bpu::len
int len(const boost::python::object &pyOb)
Definition: Util.h:30
Vec3Py.h
esys::lsm::BoundingSpherePyPickleSuite::getinitargs
static boost::python::tuple getinitargs(BoundingSpherePy const &bSphere)
Definition: BoundingSpherePy.cpp:82
esys::lsm::BoundingSpherePy::BoundingSpherePy
BoundingSpherePy()
Definition: BoundingSpherePy.cpp:27
esys::lsm::Vec3Py
Definition: Vec3Py.h:29
esys::lsm::BoundingSphere
Definition: BoundingSphere.h:28
StringUtil.h
esys::lsm::BoundingSpherePy
Definition: BoundingSpherePy.h:30
esys::lsm::BoundingSphere::getCentre
const Vec3 & getCentre() const
Definition: BoundingSphere.hpp:37
operator<<
std::ostream & operator<<(std::ostream &oStream, const esys::lsm::BoundingSpherePy &bSphere)
Definition: BoundingSpherePy.cpp:148
esys
Definition: CheckPointable.cpp:17
esys::lsm::BoundingSpherePy::getCentrePy
Vec3Py getCentrePy() const
Definition: BoundingSpherePy.cpp:72
BoundingSphere.h
Vec3
Definition: vec3.h:47
BoundingSpherePy.h
esys::lsm::BoundingSphere::operator==
bool operator==(const BoundingSphere &bSphere) const
Definition: BoundingSphere.hpp:61
esys::lsm::BoundingSphere::getRadius
double getRadius() const
Definition: BoundingSphere.hpp:42
esys::lsm::BoundingSpherePy::operator==
bool operator==(const BoundingSpherePy &bBox) const
Definition: BoundingSpherePy.cpp:67
esys::lsm::BoundingSpherePyPickleSuite
Definition: BoundingSpherePy.cpp:78
esys::lsm
Lattice Solid Model namespace.
Definition: CheckPointable.cpp:19