GenGeo  1.1
DogBone.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 __DOGBONE_H
14 #define __DOGBONE_H
15 
16 // --- Project includes ---
17 #include "CylinderVol.h"
18 #include "geometry/Cylinder.h"
19 #include "geometry/Torus.h"
20 #include "geometry/Plane.h"
21 
22 // --- STL includes ---
23 #include <vector>
24 #include <map>
25 
26 using std::vector;
27 using std::map;
28 
29 class DogBone : public CylinderVol
30 {
31  protected:
33 
34  public:
35  DogBone();
36  DogBone(const Vector3&,const Vector3&,double,double,double,double);
37  virtual ~DogBone(){};
38 
39  virtual const map<double,const AGeometricObject*> getClosestObjects(const Vector3&,int) const;
40  virtual bool isIn(const Vector3&) const;
41  virtual bool isIn(const Sphere&);
42 
43 
44 };
45 
46 #endif // __DOGBONE_H