ESyS-Particle
2.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
19
class
Triangle2D
20
{
21
private
:
22
Vec3
m_p0
,
m_p1
,
m_p2
;
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
Tools
ExtractGrains
Triangle2d.h
Generated on Mon May 6 2013 23:26:31 for ESyS-Particle by
1.8.3.1