ESyS-Particle
2.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
BoundingBoxPy.h
Go to the documentation of this file.
1
2
// //
3
// Copyright (c) 2003-2013 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_LSMBOUNDINGBOXPY_H
15
#define ESYS_LSMBOUNDINGBOXPY_H
16
17
#include <boost/python.hpp>
18
#include "
Foundation/BoundingBox.h
"
19
#include "
Foundation/StringUtil.h
"
20
#include "
Python/BoostPythonUtil/Util.h
"
21
#include "
Python/esys/lsm/util/Vec3Py.h
"
22
23
#include <sstream>
24
25
namespace
esys
26
{
27
namespace
lsm
28
{
29
class
BoundingBoxPy
:
public
BoundingBox
30
{
31
public
:
32
BoundingBoxPy
();
33
34
BoundingBoxPy
(
const
Vec3Py
&minPt,
const
Vec3Py
&maxPt);
35
36
BoundingBoxPy
(
const
Vec3
&minPt,
const
Vec3
&maxPt);
37
38
BoundingBoxPy
(
const
BoundingBoxPy
&v);
39
40
BoundingBoxPy
(
const
BoundingBox
&v);
41
42
BoundingBoxPy
(
const
boost::python::object &pyMin,
const
boost::python::object &pyMax);
43
44
bool
operator==
(
const
BoundingBoxPy
&bBox)
const
;
45
46
Vec3Py
getMinPtPy
()
const
;
47
48
Vec3Py
getMaxPtPy
()
const
;
49
50
Vec3Py
getSizePy
()
const
;
51
52
Vec3Py
getCentrePy
()
const
;
53
54
bool
intersectsWithVec3Py
(
const
Vec3Py
&pt)
const
;
55
56
};
57
58
void
exportBoundingBox
();
59
}
60
}
61
62
std::ostream &
operator<<
(std::ostream &oStream,
const
esys::lsm::BoundingBoxPy
&vec);
63
64
#endif
Python
esys
lsm
util
BoundingBoxPy.h
Generated on Mon May 6 2013 23:26:31 for ESyS-Particle by
1.8.3.1