1 |
francois |
283 |
//------------------------------------------------------------ |
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 |
|
|
// stfacebound.cpp |
16 |
|
|
// |
17 |
|
|
//------------------------------------------------------------ |
18 |
|
|
//------------------------------------------------------------ |
19 |
|
|
// COPYRIGHT 2000 |
20 |
|
|
// Version du 02/03/2006 � 11H24 |
21 |
|
|
//------------------------------------------------------------ |
22 |
|
|
//------------------------------------------------------------ |
23 |
|
|
|
24 |
|
|
|
25 |
|
|
#include "gestionversion.h" |
26 |
|
|
|
27 |
|
|
#include <string.h> |
28 |
|
|
#include "stfacebound.h" |
29 |
|
|
#include "st_ident.h" |
30 |
|
|
#include "st_gestionnaire.h" |
31 |
|
|
|
32 |
|
|
ST_FACE_BOUND::ST_FACE_BOUND(long LigneCourante,std::string idori,long edge_loop,int sens):ST_IDENTIFICATEUR(LigneCourante,idori),id_edge_loop(edge_loop),orientation(sens) |
33 |
|
|
{ |
34 |
|
|
} |
35 |
|
|
|
36 |
|
|
|
37 |
|
|
long ST_FACE_BOUND::get_id_edge_loop(void) |
38 |
|
|
{ |
39 |
|
|
return id_edge_loop; |
40 |
|
|
} |
41 |
|
|
int ST_FACE_BOUND::get_orientation(void) |
42 |
|
|
{ |
43 |
|
|
return orientation; |
44 |
|
|
} |
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
void ST_FACE_BOUND::est_util(ST_GESTIONNAIRE* gest) |
49 |
|
|
{ |
50 |
|
|
util=true; |
51 |
|
|
gest->lst_edge_loop.getid(id_edge_loop)->est_util(gest); |
52 |
|
|
} |