1 |
francois |
1158 |
//####//------------------------------------------------------------ |
2 |
|
|
//####//------------------------------------------------------------ |
3 |
|
|
//####// MAGiC |
4 |
|
|
//####// Jean Christophe Cuilliere et Vincent FRANCOIS |
5 |
|
|
//####// Departement de Genie Mecanique - UQTR |
6 |
|
|
//####//------------------------------------------------------------ |
7 |
|
|
//####// MAGIC est un projet de recherche de l equipe ERICCA |
8 |
|
|
//####// du departement de genie mecanique de l Universite du Quebec a Trois Rivieres |
9 |
|
|
//####// http://www.uqtr.ca/ericca |
10 |
|
|
//####// http://www.uqtr.ca/ |
11 |
|
|
//####//------------------------------------------------------------ |
12 |
|
|
//####//------------------------------------------------------------ |
13 |
|
|
//####// |
14 |
|
|
//####// ctvol_triangle.cpp |
15 |
|
|
//####// |
16 |
|
|
//####//------------------------------------------------------------ |
17 |
|
|
//####//------------------------------------------------------------ |
18 |
|
|
//####// COPYRIGHT 2000-2024 |
19 |
|
|
//####// jeu 13 jun 2024 11:58:52 EDT |
20 |
|
|
//####//------------------------------------------------------------ |
21 |
|
|
//####//------------------------------------------------------------ |
22 |
francois |
283 |
|
23 |
|
|
|
24 |
|
|
#include "gestionversion.h" |
25 |
|
|
|
26 |
|
|
|
27 |
|
|
#include "ctvol_triangle.h" |
28 |
|
|
#include "mg_triangle.h" |
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
CTVOL_TRIANGLE::CTVOL_TRIANGLE(class MG_TRIANGLE* tri,class CTVOL_NOEUD* n1,class CTVOL_NOEUD* n2,class CTVOL_NOEUD* n3):mgtriangle(tri),noeud1(n1),noeud2(n2),noeud3(n3) |
34 |
|
|
{ |
35 |
|
|
} |
36 |
|
|
|
37 |
|
|
CTVOL_TRIANGLE::~CTVOL_TRIANGLE() |
38 |
|
|
{ |
39 |
|
|
} |
40 |
|
|
|
41 |
|
|
long CTVOL_TRIANGLE::get_id() |
42 |
|
|
{ |
43 |
|
|
return mgtriangle->get_id(); |
44 |
|
|
} |
45 |
|
|
|
46 |
|
|
class CTVOL_NOEUD* CTVOL_TRIANGLE::get_noeud1(void) |
47 |
|
|
{ |
48 |
|
|
return noeud1; |
49 |
|
|
} |
50 |
|
|
|
51 |
|
|
class CTVOL_NOEUD* CTVOL_TRIANGLE::get_noeud2(void) |
52 |
|
|
{ |
53 |
|
|
return noeud2; |
54 |
|
|
} |
55 |
|
|
|
56 |
|
|
class CTVOL_NOEUD* CTVOL_TRIANGLE::get_noeud3(void) |
57 |
|
|
{ |
58 |
|
|
return noeud3; |
59 |
|
|
} |
60 |
|
|
|
61 |
|
|
class MG_TRIANGLE* CTVOL_TRIANGLE::get_triangle(void) |
62 |
|
|
{ |
63 |
|
|
return mgtriangle; |
64 |
|
|
} |
65 |
|
|
|
66 |
|
|
class BOITE_3D CTVOL_TRIANGLE::get_boite_3D(void) |
67 |
|
|
{ |
68 |
|
|
return mgtriangle->get_boite_3D(); |
69 |
|
|
} |