ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/mg_coface.h
Revision: 906
Committed: Mon Nov 13 22:30:18 2017 UTC (7 years, 9 months ago) by couturad
Content type: text/plain
File size: 2027 byte(s)
Log Message:
Nouveau opencascade commit 1

File Contents

# Content
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_coface.h
16 //
17 //------------------------------------------------------------
18 //------------------------------------------------------------
19 // COPYRIGHT 2000
20 // Version du 02/03/2006 � 11H22
21 //------------------------------------------------------------
22 //------------------------------------------------------------
23 #ifndef __MGCOFACE_
24 #define __MGCOFACE_
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 "mg_element_cotopologique.h"
38 #include "mg_arete.h"
39 #include "mg_boucle.h"
40 #include "mg_coquille.h"
41
42 class DLLPORTGEOMETRIE MG_COFACE:public MG_ELEMENT_COTOPOLOGIQUE
43 {
44 public:
45 MG_COFACE(unsigned long num,class MG_FACE* mgface,class MG_COQUILLE* mgcoq,int sens);
46 MG_COFACE(class MG_FACE* mgface,class MG_COQUILLE* mgcoq,int sens);
47 MG_COFACE(class MG_COFACE& mdd);
48 virtual ~MG_COFACE();
49 virtual int get_type(void);
50
51 virtual MG_COQUILLE* get_coquille(void);
52 virtual MG_FACE* get_face(void);
53 virtual int get_orientation(void);
54 virtual void change(MG_FACE* f,int ori);
55
56 virtual void enregistrer(std::ostream& o,double version);
57 private:
58 class MG_COQUILLE* coquille;
59 class MG_FACE* face;
60 int orientation;
61
62
63 };
64
65
66
67 #endif
68
69