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 |
|
|
// 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 |
|
|
|