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 |
|
|
// stbrep.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 "st_ident.h" |
28 |
|
|
#include "stbrep.h" |
29 |
|
|
#include "st_gestionnaire.h" |
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
ST_MANIFOLD_BREP::ST_MANIFOLD_BREP(long LigneCourante,std::string idori,long closed_shell):ST_IDENTIFICATEUR(LigneCourante,idori),id_closed_shell(closed_shell) |
35 |
|
|
{ |
36 |
|
|
} |
37 |
|
|
|
38 |
|
|
long ST_MANIFOLD_BREP::get_id_closed_shell(void) |
39 |
|
|
{ |
40 |
|
|
return id_closed_shell; |
41 |
|
|
} |
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
void ST_MANIFOLD_BREP::est_util(ST_GESTIONNAIRE* gest) |
46 |
|
|
{ |
47 |
|
|
util=true; |
48 |
|
|
ST_CLOSED_SHELL* shell=gest->lst_closed_shell.getid(id_closed_shell); |
49 |
|
|
shell->est_util(gest); |
50 |
|
|
} |
51 |
|
|
|