GenGeo  1.1
ConvexPolyhedron.h
Go to the documentation of this file.
1 
2 // //
3 // Copyright (c) 2007-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 #ifndef __CONVEX_POLYHEDRON_H
14 #define __CONVEX_POLYHEDRON_H
15 
16 // --- Project includes ---
17 #include "BoxWithPlanes3D.h"
18 #include "geometry/Plane.h"
19 
20 // --- STL includes ---
21 #include <vector>
22 #include <map>
23 
24 using std::vector;
25 using std::map;
26 
34 {
35  protected:
36 
37  public:
39  ConvexPolyhedron(const Vector3&,const Vector3&);
40  virtual ~ConvexPolyhedron();
41 
42  virtual Vector3 getAPoint(int)const;
43  virtual bool isIn(const Vector3&) const;
44  virtual bool isIn(const Sphere&);
45 };
46 #endif //__CONVEX_POLYHEDRON_H