1 |
//------------------------------------------------------------ |
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 |
// mg_boucle.h |
16 |
// |
17 |
//------------------------------------------------------------ |
18 |
//------------------------------------------------------------ |
19 |
// COPYRIGHT 2000 |
20 |
// Version du 02/03/2006 � 11H22 |
21 |
//------------------------------------------------------------ |
22 |
//------------------------------------------------------------ |
23 |
#ifndef __MGBOUCLE_ |
24 |
#define __MGBOUCLE_ |
25 |
|
26 |
#ifdef WINDOWS_VERSION |
27 |
#ifdef BUILT_DLL_GEOMETRIE |
28 |
#define DLLPORTGEOMETRIE __declspec(dllexport) |
29 |
#else |
30 |
#define DLLPORTGEOMETRIE __declspec(dllimport) |
31 |
#endif |
32 |
#else |
33 |
#define DLLPORTGEOMETRIE |
34 |
#endif |
35 |
|
36 |
|
37 |
#include <vector> |
38 |
#include "mg_element_cotopologique.h" |
39 |
#include "mg_coarete.h" |
40 |
#include "mg_face.h" |
41 |
#include "mg_poutre.h" |
42 |
|
43 |
|
44 |
class DLLPORTGEOMETRIE MG_BOUCLE:public MG_ELEMENT_COTOPOLOGIQUE |
45 |
{ |
46 |
public: |
47 |
MG_BOUCLE(unsigned long num,class MG_POUTRE* mgpoutre); |
48 |
MG_BOUCLE(class MG_POUTRE* mgpoutre); |
49 |
MG_BOUCLE(unsigned long num,class MG_FACE* mgface); |
50 |
MG_BOUCLE(class MG_FACE* mgface); |
51 |
MG_BOUCLE(); |
52 |
MG_BOUCLE(unsigned long num); |
53 |
MG_BOUCLE(MG_BOUCLE& mdd); |
54 |
virtual ~MG_BOUCLE(); |
55 |
virtual int get_type(void); |
56 |
virtual void ajouter_mg_coarete(class MG_COARETE* mgcoarete); |
57 |
virtual int get_nb_mg_coarete(void); |
58 |
virtual MG_COARETE* get_mg_coarete(int num); |
59 |
virtual void supprimer_mg_coarete(class MG_COARETE* mgcoarete); |
60 |
virtual MG_COARETE* get_mg_coarete_suivante(MG_COARETE* coare); |
61 |
virtual MG_COARETE* get_mg_coarete_precedente(MG_COARETE* coare); |
62 |
virtual MG_FACE* get_mg_face(void); |
63 |
virtual void enregistrer(std::ostream& o,double version); |
64 |
protected: |
65 |
MG_FACE* face; |
66 |
MG_POUTRE* poutre; |
67 |
std::vector<MG_COARETE*> lst_coarete; |
68 |
}; |
69 |
|
70 |
|
71 |
|
72 |
#endif |
73 |
|
74 |
|
75 |
|
76 |
|