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 |
|
|
// storientedclosedshell.cpp
|
16 |
|
|
//
|
17 |
|
|
//------------------------------------------------------------
|
18 |
|
|
//------------------------------------------------------------
|
19 |
|
|
// COPYRIGHT 2000
|
20 |
|
|
// Version du 02/03/2006 à 11H24
|
21 |
|
|
//------------------------------------------------------------
|
22 |
|
|
//------------------------------------------------------------
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
#include "gestionversion.h"
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
#include "st_ident.h"
|
29 |
|
|
#include "st_gestionnaire.h"
|
30 |
|
|
#include "storientedclosedshell.h"
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
ST_ORIENTED_CLOSED_SHELL::ST_ORIENTED_CLOSED_SHELL(long LigneCourante,std::string idori,long id_closed_shell,int sens):ST_IDENTIFICATEUR(LigneCourante,idori),id_closed_shell(id_closed_shell),orientation(sens)
|
36 |
|
|
{
|
37 |
|
|
}
|
38 |
|
|
|
39 |
|
|
ST_ORIENTED_CLOSED_SHELL::~ST_ORIENTED_CLOSED_SHELL()
|
40 |
|
|
{
|
41 |
|
|
}
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
long ST_ORIENTED_CLOSED_SHELL::get_id_closed_shell(void)
|
45 |
|
|
{
|
46 |
|
|
return id_closed_shell;
|
47 |
|
|
}
|
48 |
|
|
|
49 |
|
|
int ST_ORIENTED_CLOSED_SHELL::get_orientation(void)
|
50 |
|
|
{
|
51 |
|
|
return orientation;
|
52 |
|
|
}
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
void ST_ORIENTED_CLOSED_SHELL::est_util(ST_GESTIONNAIRE* gest)
|
56 |
|
|
{
|
57 |
|
|
util=true;
|
58 |
|
|
gest->lst_closed_shell.getid(id_closed_shell)->est_util(gest);
|
59 |
|
|
}
|