GenGeo  1.1
Plane.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 __PLANE_H
14 #define __PLANE_H
15 
16 // --- Project includes ---
17 #include "util/vector3.h"
18 #include "AGeometricObject.h"
19 
20 // --- IO includes ---
21 #include <iostream>
22 
23 using std::ostream;
24 
28 class Plane : public AGeometricObject
29 {
30  private:
32 
33  public:
34  Plane();
35  Plane(const Vector3&,const Vector3&);
36 
37  virtual double getDist(const Vector3&) const;
38  Vector3 getOrig() const {return m_p;};
39  Vector3 getNormal() const {return m_normal;};
40 
41  friend ostream& operator<< (ostream&, const Plane&);
42 };
43 
44 #endif // __PLANE_H