GenGeo  1.1
AVolume2D.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 __AVOLUME2D_H
14 #define __AVOLUME2D_H
15 
16 // --- Project includes ---
17 #include "AVolume.h"
18 #include "geometry/Line2D.h"
19 
20 // --- STL includes ---
21 #include <map>
22 
23 using std::map;
24 
25 class AVolume2D : public AVolume
26 {
27  public:
28  virtual ~AVolume2D(){};
29 
30  virtual Line2D getClosestPlane(const Vector3&) = 0;
31  virtual const map<double,const Line2D*> getClosestPlanes(const Vector3&,int) const = 0;
32  virtual const map<double,const AGeometricObject*> getClosestObjects(const Vector3&,int) const;
33 };
34 
35 #endif // __AVOLUME2D_H