ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/mailleur/src/m3d_noeud.cpp
Revision: 5
Committed: Tue Jun 12 20:26:34 2007 UTC (17 years, 11 months ago)
Original Path: magic/lib/mailleur/mailleur/src/m3d_noeud.cpp
File size: 1851 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     // m3d_noeud.cpp
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 à 11H23
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23    
24    
25     #include "gestionversion.h"
26    
27     //#pragma hdrstop
28    
29     #include "m3d_noeud.h"
30     #include "const.h"
31     //---------------------------------------------------------------------------
32    
33     //#pragma package(smart_init)
34    
35    
36    
37    
38    
39     M3D_NOEUD::M3D_NOEUD(unsigned long num,MG_ELEMENT_TOPOLOGIQUE* topo,double xx,double yy,double zz):MG_NOEUD(num,topo,xx,yy,zz),etat(ACTIF)
40     {
41     }
42    
43     M3D_NOEUD::M3D_NOEUD(MG_ELEMENT_TOPOLOGIQUE* topo,double xx,double yy,double zz):MG_NOEUD(topo,xx,yy,zz),etat(ACTIF)
44     {
45     }
46    
47    
48     M3D_NOEUD::M3D_NOEUD(M3D_NOEUD& mdd):MG_NOEUD(mdd),etat(mdd.etat)
49     {
50     }
51    
52    
53     M3D_NOEUD::~M3D_NOEUD()
54     {
55     }
56    
57    
58     int M3D_NOEUD::get_type_entite()
59     {
60     return IDM3D_NOEUD;
61     }
62    
63    
64     void M3D_NOEUD::etat_detruit(void)
65     {
66     etat=DETRUIT;
67     }
68    
69     void M3D_NOEUD::etat_actif(void)
70     {
71     etat=ACTIF;
72     }
73    
74     int M3D_NOEUD::get_etat(void)
75     {
76    
77     return etat;
78     }