1 |
francois |
1158 |
//####//------------------------------------------------------------ |
2 |
|
|
//####//------------------------------------------------------------ |
3 |
|
|
//####// MAGiC |
4 |
|
|
//####// Jean Christophe Cuilliere et Vincent FRANCOIS |
5 |
|
|
//####// Departement de Genie Mecanique - UQTR |
6 |
|
|
//####//------------------------------------------------------------ |
7 |
|
|
//####// MAGIC est un projet de recherche de l equipe ERICCA |
8 |
|
|
//####// du departement de genie mecanique de l Universite du Quebec a Trois Rivieres |
9 |
|
|
//####// http://www.uqtr.ca/ericca |
10 |
|
|
//####// http://www.uqtr.ca/ |
11 |
|
|
//####//------------------------------------------------------------ |
12 |
|
|
//####//------------------------------------------------------------ |
13 |
|
|
//####// |
14 |
|
|
//####// mg_coquille.h |
15 |
|
|
//####// |
16 |
|
|
//####//------------------------------------------------------------ |
17 |
|
|
//####//------------------------------------------------------------ |
18 |
|
|
//####// COPYRIGHT 2000-2024 |
19 |
|
|
//####// jeu 13 jun 2024 11:58:55 EDT |
20 |
|
|
//####//------------------------------------------------------------ |
21 |
|
|
//####//------------------------------------------------------------ |
22 |
francois |
283 |
#ifndef __MGCOQUILLE_ |
23 |
|
|
#define __MGCOQUILLE_ |
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
#include <vector> |
28 |
|
|
#include "mg_element_cotopologique.h" |
29 |
|
|
#include "mg_coface.h" |
30 |
|
|
#include "mg_volume.h" |
31 |
|
|
#include "mg_coque.h" |
32 |
|
|
|
33 |
|
|
|
34 |
francois |
1158 |
class MG_COQUILLE:public MG_ELEMENT_COTOPOLOGIQUE |
35 |
francois |
283 |
{ |
36 |
|
|
public: |
37 |
|
|
MG_COQUILLE(unsigned long num,class MG_VOLUME* mgvol); |
38 |
|
|
MG_COQUILLE(unsigned long num,class MG_COQUE* mgcoq); |
39 |
|
|
MG_COQUILLE(class MG_VOLUME* mgvol); |
40 |
|
|
MG_COQUILLE(class MG_COQUE* mgcoq); |
41 |
couturad |
906 |
MG_COQUILLE(unsigned long num); |
42 |
|
|
MG_COQUILLE(); |
43 |
francois |
283 |
MG_COQUILLE(MG_COQUILLE& mdd); |
44 |
|
|
virtual ~MG_COQUILLE(); |
45 |
couturad |
906 |
virtual int get_type(void); |
46 |
francois |
283 |
|
47 |
|
|
virtual void ajouter_mg_coface(class MG_COFACE* mgcoface); |
48 |
|
|
virtual int get_nb_mg_coface(void); |
49 |
|
|
virtual MG_COFACE* get_mg_coface(int num); |
50 |
francois |
878 |
virtual MG_COFACE* get_mg_cofaceid(int num); |
51 |
francois |
283 |
virtual void supprimer_mg_coface(class MG_COFACE* mgcoface); |
52 |
|
|
virtual MG_VOLUME* get_mg_volume(void); |
53 |
gervaislavoie |
329 |
virtual MG_COQUE* get_mg_coque(void); |
54 |
francois |
763 |
virtual void enregistrer(std::ostream& o,double version); |
55 |
francois |
881 |
|
56 |
francois |
876 |
protected: |
57 |
francois |
283 |
MG_VOLUME* volume; |
58 |
|
|
MG_COQUE* coque; |
59 |
francois |
876 |
std::vector<MG_COFACE*> lst_coface; |
60 |
francois |
283 |
}; |
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
#endif |
65 |
|
|
|
66 |
|
|
|