ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/carte/src/ctvol_noeud.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/carte/carte/src/ctvol_noeud.h
File size: 1516 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     // ctvol_noeud.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 à 11H21
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23    
24     #ifndef ctvol_noeudH
25     #define ctvol_noeudH
26     //---------------------------------------------------------------------------
27    
28    
29    
30     class CTVOL_NOEUD
31     {
32     public:
33    
34     CTVOL_NOEUD(class MG_NOEUD* noeud);
35     ~CTVOL_NOEUD();
36    
37     class MG_NOEUD* get_noeud(void);
38    
39     double get_densite(void);
40     void change_densite(double dens);
41    
42     long get_id();
43     void incremente_nb_segment(int nb=1);
44     int get_nb_segment(void);
45    
46    
47    
48     private:
49     class MG_NOEUD* mgnoeud;
50     double densite;
51     int nb_segment_connecte;
52    
53     };
54    
55    
56    
57     #endif