ESyS-Particle  2.2
Triangle2d.h
Go to the documentation of this file.
1 
2 // //
3 // Copyright (c) 2003-2013 by The University of Queensland //
4 // Earth Systems Science Computational Centre (ESSCC) //
5 // http://www.uq.edu.au/esscc //
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 __TRIANGLE2D_H
14 #define __TRIANGLE2D_H
15 
16 // --- project includes ---
17 #include "Foundation/vec3.h"
18 
20 {
21  private:
23  int m_id;
24 
25  public:
26  Triangle2D(const Vec3&,const Vec3&,const Vec3&,int);
27 
28  int Id() const {return m_id;};
29  bool isIn(const Vec3&) const;
30 };
31 
32 #endif // __TRIANGLE2D_H