GenGeo  1.1
Triangle3D.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 __TRIANGLE_3D
14 #define __TRIANGLE_3D
15 
16 // project includes
17 #include "util/vector3.h"
18 #include "AGeometricObject.h"
19 
24 {
25  private:
27  int m_tag;
28 
29  public:
30  Triangle3D(const Vector3&,const Vector3&,const Vector3&,int);
31 
32  virtual double getDist(const Vector3&) const;
33  bool crosses(const Vector3&, const Vector3&) const;
34  int getTag() const {return m_tag;};
35  Vector3 getMinPoint() const;
36  Vector3 getMaxPoint() const;
37 };
38 
39 #endif // __TRIANGLE_3D