ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/mg_sommet.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: 2389 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_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 virtual bool est_un_sommet_noeud(void);
60 virtual int get_dimension(void);
61 virtual int get_type(void);
62 bool est_pole(void);
63 void change_pole(bool val);
64 virtual void enregistrer(std::ostream& o,double version);
65 protected:
66 MG_POINT* point;
67 std::vector<class MG_COSOMMET*> lst_cosommet;
68 class VCT_SOMMET* vect;
69 bool pole;
70
71 };
72
73
74
75 #endif
76