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_coface.h |
15 |
|
|
//####// |
16 |
|
|
//####//------------------------------------------------------------ |
17 |
|
|
//####//------------------------------------------------------------ |
18 |
|
|
//####// COPYRIGHT 2000-2024 |
19 |
|
|
//####// jeu 13 jun 2024 11:58:53 EDT |
20 |
|
|
//####//------------------------------------------------------------ |
21 |
|
|
//####//------------------------------------------------------------ |
22 |
francois |
283 |
#ifndef __MGCOFACE_ |
23 |
|
|
#define __MGCOFACE_ |
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
francois |
1158 |
|
28 |
francois |
283 |
#include "mg_element_cotopologique.h" |
29 |
|
|
#include "mg_arete.h" |
30 |
|
|
#include "mg_boucle.h" |
31 |
|
|
#include "mg_coquille.h" |
32 |
|
|
|
33 |
francois |
1158 |
class MG_COFACE:public MG_ELEMENT_COTOPOLOGIQUE |
34 |
francois |
283 |
{ |
35 |
|
|
public: |
36 |
|
|
MG_COFACE(unsigned long num,class MG_FACE* mgface,class MG_COQUILLE* mgcoq,int sens); |
37 |
|
|
MG_COFACE(class MG_FACE* mgface,class MG_COQUILLE* mgcoq,int sens); |
38 |
|
|
MG_COFACE(class MG_COFACE& mdd); |
39 |
|
|
virtual ~MG_COFACE(); |
40 |
couturad |
906 |
virtual int get_type(void); |
41 |
francois |
283 |
|
42 |
|
|
virtual MG_COQUILLE* get_coquille(void); |
43 |
|
|
virtual MG_FACE* get_face(void); |
44 |
|
|
virtual int get_orientation(void); |
45 |
|
|
virtual void change(MG_FACE* f,int ori); |
46 |
|
|
|
47 |
francois |
763 |
virtual void enregistrer(std::ostream& o,double version); |
48 |
francois |
283 |
private: |
49 |
|
|
class MG_COQUILLE* coquille; |
50 |
|
|
class MG_FACE* face; |
51 |
|
|
int orientation; |
52 |
|
|
|
53 |
|
|
|
54 |
|
|
}; |
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
#endif |
59 |
|
|
|
60 |
|
|
|