ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/mtu/src/CAD4FE_MCVertex.h
Revision: 1158
Committed: Thu Jun 13 22:18:49 2024 UTC (11 months, 1 week ago) by francois
Content type: text/plain
File size: 2123 byte(s)
Log Message:
compatibilité Ubuntu 22.04
Suppression des refeences à Windows
Ajout d'une banière

File Contents

# User Rev Content
1 francois 1158 //####//------------------------------------------------------------
2     //####//------------------------------------------------------------
3     //####// MAGiC
4     //####// Jean Christophe Cuilliere et Vincent FRANCOIS
5     //####// Departement de Genie Mecanique - UQTR
6     //####//------------------------------------------------------------
7     //####// MAGIC est un projet de recherche de l equipe ERICCA
8     //####// du departement de genie mecanique de l Universite du Quebec a Trois Rivieres
9     //####// http://www.uqtr.ca/ericca
10     //####// http://www.uqtr.ca/
11     //####//------------------------------------------------------------
12     //####//------------------------------------------------------------
13     //####//
14     //####// CAD4FE_MCVertex.h
15     //####//
16     //####//------------------------------------------------------------
17     //####//------------------------------------------------------------
18     //####// COPYRIGHT 2000-2024
19     //####// jeu 13 jun 2024 11:58:54 EDT
20     //####//------------------------------------------------------------
21     //####//------------------------------------------------------------
22 foucault 27 #ifndef CAD4FE_MCVertexh
23     #define CAD4FE_MCVertexh
24    
25 foucault 569 #include <vector>
26 foucault 27 #include "mg_geometrie.h"
27    
28    
29    
30 francois 1158
31 foucault 27 namespace CAD4FE {
32    
33 foucault 569 class MCEdge;
34 foucault 27
35 francois 1158 class MCVertex : public MG_SOMMET
36 foucault 569 {
37     public:
38     MCVertex(MG_SOMMET * __vertex);
39 foucault 27
40 foucault 569 // return the reference vertex of this vertex
41     MG_SOMMET * GetRefVertex();
42 foucault 27
43 francois 763 virtual void enregistrer(std::ostream& o,double version);
44 foucault 27
45 foucault 569 /** modification time : represent the last step number
46     * of the MCAA process which created or modified this entity */
47     int time;
48 foucault 27
49 foucault 569 // set of vertices that have been merged into the mcvertex
50     void MergeRefVertex(MG_SOMMET * ) ;
51     std::map <unsigned long, MG_SOMMET*> & GetMergedRefVertices();
52     bool Contains(MG_SOMMET * ) const;
53     void RemoveRefVertex(MG_SOMMET * ) ;
54     void Merge(MCVertex * __mcVertex);
55 foucault 27
56 foucault 569 private:
57     // Vertex that this MC vertex belongs to
58     MG_SOMMET * _ref_vertex;
59 foucault 27
60 foucault 569 /// set of vertices that have been merged into the mcvertex
61     std::map <unsigned long, MG_SOMMET*> _lst_vertices;
62 foucault 27 };
63    
64     }
65    
66     #endif