1 |
|
5 |
//---------------------------------------------------------------------------
|
2 |
|
|
#ifndef CAD4FE_MCVertexh
|
3 |
|
|
#define CAD4FE_MCVertexh
|
4 |
|
|
//---------------------------------------------------------------------------
|
5 |
|
|
|
6 |
|
|
#include <vector>
|
7 |
|
|
//---------------------------------------------------------------------------
|
8 |
|
|
// include MAGIC Headers
|
9 |
|
|
#include "mg_geometrie.h"
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
#ifdef WINDOWS_VERSION
|
13 |
|
|
#ifdef BUILT_DLL_GEOMETRIE
|
14 |
|
|
#define DLLPORTGEOMETRIE __declspec(dllexport)
|
15 |
|
|
#else
|
16 |
|
|
#define DLLPORTGEOMETRIE __declspec(dllimport)
|
17 |
|
|
#endif
|
18 |
|
|
#else
|
19 |
|
|
#define DLLPORTGEOMETRIE
|
20 |
|
|
#endif
|
21 |
|
|
|
22 |
|
|
namespace CAD4FE {
|
23 |
|
|
|
24 |
|
|
class MCEdge;
|
25 |
|
|
|
26 |
|
|
class DLLPORTGEOMETRIE MCVertex : public MG_SOMMET
|
27 |
|
|
{
|
28 |
|
|
public:
|
29 |
|
|
MCVertex(MG_SOMMET * __vertex);
|
30 |
|
|
|
31 |
|
|
// return the reference vertex of this vertex
|
32 |
|
|
MG_SOMMET * GetRefVertex();
|
33 |
|
|
|
34 |
|
|
virtual void enregistrer(std::ostream& o);
|
35 |
|
|
|
36 |
|
|
/** modification time : represent the last step number
|
37 |
|
|
* of the MCAA process which created or modified this entity */
|
38 |
|
|
int time;
|
39 |
|
|
|
40 |
|
|
private:
|
41 |
|
|
// Vertex that this MC vertex belongs to
|
42 |
|
|
MG_SOMMET * _ref_vertex;
|
43 |
|
|
};
|
44 |
|
|
|
45 |
|
|
}
|
46 |
|
|
|
47 |
|
|
#endif
|