ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/CAD4FE_MCVertex.h
Revision: 763
Committed: Wed Dec 2 19:55:53 2015 UTC (9 years, 5 months ago) by francois
Content type: text/plain
File size: 1562 byte(s)
Log Message:
Le fichier MAGiC est maintenant versionné. LA version actuelle est 2.0. L'ancienne version est 1.0.
Tout est transparent pour l'utilisateur. Les vieilles versions sont lisibles mais les nouveaux enregistrements sont dans la version la plus récente.
Changement des conditions aux limites : ajout d'un parametre pour dire si la condition numerique est une valeur ou une formule ou un lien vers une autre entité magic.
Les parametres pour saisir sont maintenant -ccf -ccfi -ccff -ccft -ccfit -ccfft

File Contents

# User Rev Content
1 foucault 27 //---------------------------------------------------------------------------
2     #ifndef CAD4FE_MCVertexh
3     #define CAD4FE_MCVertexh
4     //---------------------------------------------------------------------------
5    
6 foucault 569 #include <vector>
7 foucault 27 //---------------------------------------------------------------------------
8     // include MAGIC Headers
9     #include "mg_geometrie.h"
10    
11    
12     #ifdef WINDOWS_VERSION
13 foucault 569 #ifdef BUILT_DLL_GEOMETRIE
14     #define DLLPORTGEOMETRIE __declspec(dllexport)
15     #else
16     #define DLLPORTGEOMETRIE __declspec(dllimport)
17     #endif
18 foucault 27 #else
19 foucault 569 #define DLLPORTGEOMETRIE
20 foucault 27 #endif
21    
22     namespace CAD4FE {
23    
24 foucault 569 class MCEdge;
25 foucault 27
26 foucault 569 class DLLPORTGEOMETRIE MCVertex : public MG_SOMMET
27     {
28     public:
29     MCVertex(MG_SOMMET * __vertex);
30 foucault 27
31 foucault 569 // return the reference vertex of this vertex
32     MG_SOMMET * GetRefVertex();
33 foucault 27
34 francois 763 virtual void enregistrer(std::ostream& o,double version);
35 foucault 27
36 foucault 569 /** modification time : represent the last step number
37     * of the MCAA process which created or modified this entity */
38     int time;
39 foucault 27
40 foucault 569 // set of vertices that have been merged into the mcvertex
41     void MergeRefVertex(MG_SOMMET * ) ;
42     std::map <unsigned long, MG_SOMMET*> & GetMergedRefVertices();
43     bool Contains(MG_SOMMET * ) const;
44     void RemoveRefVertex(MG_SOMMET * ) ;
45     void Merge(MCVertex * __mcVertex);
46 foucault 27
47 foucault 569 private:
48     // Vertex that this MC vertex belongs to
49     MG_SOMMET * _ref_vertex;
50 foucault 27
51 foucault 569 /// set of vertices that have been merged into the mcvertex
52     std::map <unsigned long, MG_SOMMET*> _lst_vertices;
53 foucault 27 };
54    
55     }
56    
57     #endif