1 |
|
5 |
//------------------------------------------------------------
|
2 |
|
|
//------------------------------------------------------------
|
3 |
|
|
// MAGiC
|
4 |
|
|
// Jean Christophe Cuillière et Vincent FRANCOIS
|
5 |
|
|
// Département de Génie Mécanique - UQTR
|
6 |
|
|
//------------------------------------------------------------
|
7 |
|
|
// Le projet MAGIC est un projet de recherche du département
|
8 |
|
|
// de génie mécanique de l'Université du Québec à
|
9 |
|
|
// Trois Rivières
|
10 |
|
|
// Les librairies ne peuvent être utilisées sans l'accord
|
11 |
|
|
// des auteurs (contact : francois@uqtr.ca)
|
12 |
|
|
//------------------------------------------------------------
|
13 |
|
|
//------------------------------------------------------------
|
14 |
|
|
//
|
15 |
|
|
// mailleur3d_front.h
|
16 |
|
|
//
|
17 |
|
|
//------------------------------------------------------------
|
18 |
|
|
//------------------------------------------------------------
|
19 |
|
|
// COPYRIGHT 2000
|
20 |
|
|
// Version du 02/03/2006 à 11H23
|
21 |
|
|
//------------------------------------------------------------
|
22 |
|
|
//------------------------------------------------------------
|
23 |
|
|
|
24 |
|
|
#ifndef mailleur3d_frontH
|
25 |
|
|
#define mailleur3d_frontH
|
26 |
|
|
#include "mailleur3d.h"
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
const unsigned int ADJACENT3=0 ;
|
30 |
|
|
const unsigned int ADJACENT2=1 ;
|
31 |
|
|
const unsigned int ADJACENT1=2 ;
|
32 |
|
|
const unsigned int LIE3=3;
|
33 |
|
|
const unsigned int LIE2=4;
|
34 |
|
|
const unsigned int LIE1=5;
|
35 |
|
|
const unsigned int GENERAL=6;
|
36 |
|
|
const unsigned int AUTRECAS=7;
|
37 |
|
|
const unsigned int ADJACENT=8 ;
|
38 |
|
|
const unsigned int LIE=9;
|
39 |
|
|
|
40 |
|
|
const int TROUVE=-5;
|
41 |
|
|
const int PASTROUVE=-10;
|
42 |
|
|
const int DESTRUCTION=-15;
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
const int PASTRAITE=-20;
|
46 |
|
|
const int TRAITE=-15;
|
47 |
|
|
const int AUTRECASATRAITER=-25;
|
48 |
|
|
|
49 |
|
|
class CAS_FRONT
|
50 |
|
|
{
|
51 |
|
|
public:
|
52 |
|
|
CAS_FRONT(int type_cas,MG_NOEUD* noeud,int numero_cote);
|
53 |
|
|
~CAS_FRONT();
|
54 |
|
|
|
55 |
|
|
class MG_NOEUD* mgnoeud;
|
56 |
|
|
int type;
|
57 |
|
|
int degre;
|
58 |
|
|
int liaison[3];
|
59 |
|
|
double angle[3];
|
60 |
|
|
int traite;
|
61 |
|
|
|
62 |
|
|
};
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
//---------------------------------------------------------------------------
|
68 |
|
|
#endif
|