ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/mg_sommet.h
Revision: 814
Committed: Fri Aug 12 14:58:19 2016 UTC (8 years, 9 months ago) by couturad
Content type: text/plain
File size: 2355 byte(s)
Log Message:
-> Mise à jour de la version du fichier MAGiC (version 2.2)
-> Ajout de la fonctionnalité get_liste_pole permettant d'obtenir les pôles d'une face
-> Ajout d'une méthode de génération d'un VES aléatoire selon la méthode RSA

File Contents

# User Rev Content
1 francois 283 //------------------------------------------------------------
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_sommet.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 � 11H22
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23     #ifndef __MGSOMMET_
24     #define __MGSOMMET_
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    
38     #include "mg_element_topologique.h"
39     #include "mg_point.h"
40     #include "mg_cosommet.h"
41     #include <vector>
42     #include "mg_noeud.h"
43    
44     class DLLPORTGEOMETRIE MG_SOMMET:public MG_ELEMENT_TOPOLOGIQUE
45     {
46     public:
47     MG_SOMMET(std::string idori,unsigned long num,MG_POINT* mgpt);
48     MG_SOMMET(std::string idori,MG_POINT* mgpt);
49     MG_SOMMET(MG_SOMMET& mdd);
50     virtual ~MG_SOMMET();
51    
52     virtual MG_POINT* get_point(void);
53     virtual void ajouter_mg_cosommet(class MG_COSOMMET* cosom);
54     virtual void supprimer_mg_cosommet(class MG_COSOMMET* cosom);
55     virtual int get_nb_mg_cosommet(void);
56     virtual MG_COSOMMET* get_mg_cosommet(int num);
57     virtual VCT& get_vectorisation(void);
58     virtual void get_topologie_sousjacente(TPL_MAP_ENTITE<MG_ELEMENT_TOPOLOGIQUE*> *lst);
59 francois 526 virtual bool est_un_sommet_noeud(void);
60 francois 283 virtual int get_dimension(void);
61 couturad 814 bool est_pole(void);
62     void change_pole(bool val);
63 francois 763 virtual void enregistrer(std::ostream& o,double version);
64 francois 283 private:
65     MG_POINT* point;
66     std::vector<class MG_COSOMMET*> lst_cosommet;
67     class VCT_SOMMET* vect;
68 couturad 814 bool pole;
69 francois 283
70     };
71    
72    
73    
74     #endif
75