ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/mg_cosommet.h
Revision: 5
Committed: Tue Jun 12 20:26:34 2007 UTC (17 years, 11 months ago)
Content type: text/plain
Original Path: magic/lib/geometrie/geometrie/src/mg_cosommet.h
File size: 1918 byte(s)
Log Message:

File Contents

# User Rev Content
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     // mg_cosommet.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 à 11H22
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23     #ifndef __MGCOSOMMET_
24     #define __MGCOSOMMET_
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_sommet.h"
39     #include "mg_arete.h"
40    
41     class DLLPORTGEOMETRIE MG_COSOMMET:public MG_ELEMENT_COTOPOLOGIQUE
42     {
43     public:
44     MG_COSOMMET(unsigned long num,class MG_SOMMET* mgsom,class MG_ARETE* mgarete);
45     MG_COSOMMET(class MG_SOMMET* mgsom,class MG_ARETE* mgarete);
46     MG_COSOMMET(class MG_COSOMMET& mdd);
47     virtual ~MG_COSOMMET();
48    
49     virtual MG_SOMMET* get_sommet(void);
50     virtual MG_ARETE* get_arete(void);
51     double get_t();
52    
53     virtual void enregistrer(std::ostream& o);
54     private:
55     class MG_SOMMET* sommet;
56     class MG_ARETE* arete;
57     double t;
58    
59     };
60    
61    
62    
63     #endif
64