1 |
|
5 |
#ifndef CAD4FE_MCFaceh
|
2 |
|
|
#define CAD4FE_MCFaceh
|
3 |
|
|
|
4 |
|
|
//---------------------------------------------------------------------------
|
5 |
|
|
// include MAGIC Headers
|
6 |
|
|
#include "gestionversion.h"
|
7 |
|
|
#include "mg_geometrie.h"
|
8 |
|
|
#include "mg_face.h"
|
9 |
|
|
//---------------------------------------------------------------------------
|
10 |
|
|
|
11 |
|
|
#include <map>
|
12 |
|
|
#include <vector>
|
13 |
|
|
#include <string>
|
14 |
|
|
#include <ostream>
|
15 |
|
|
|
16 |
|
|
using namespace std;
|
17 |
|
|
|
18 |
|
|
#ifdef WINDOWS_VERSION
|
19 |
|
|
#ifdef BUILT_DLL_GEOMETRIE
|
20 |
|
|
#define DLLPORTGEOMETRIE __declspec(dllexport)
|
21 |
|
|
#else
|
22 |
|
|
#define DLLPORTGEOMETRIE __declspec(dllimport)
|
23 |
|
|
#endif
|
24 |
|
|
#else
|
25 |
|
|
#define DLLPORTGEOMETRIE
|
26 |
|
|
#endif
|
27 |
|
|
|
28 |
|
|
namespace CAD4FE {
|
29 |
|
|
|
30 |
|
|
class MCEdge;
|
31 |
|
|
class MCVertex;
|
32 |
|
|
class PolySurface;
|
33 |
|
|
|
34 |
|
|
/**
|
35 |
|
|
* This class descibes a MC Face entity
|
36 |
|
|
*/
|
37 |
|
|
class DLLPORTGEOMETRIE MCFace : public MG_FACE {
|
38 |
|
|
public:
|
39 |
|
|
/** Constructor */
|
40 |
|
|
MCFace(MG_FACE * __mgFace);
|
41 |
|
|
MCFace( std::string &, MCFace & __a, MCFace & __b);
|
42 |
|
|
MCFace( std::string & __idOriginal, PolySurface * __polySurface);
|
43 |
|
|
MCFace( MCFace & __src);
|
44 |
|
|
~MCFace();
|
45 |
|
|
|
46 |
|
|
PolySurface * GetPolySurface();
|
47 |
|
|
|
48 |
|
|
virtual void enregistrer(std::ostream& o);
|
49 |
|
|
|
50 |
|
|
/** modification time : represent the last step number
|
51 |
|
|
* of the MCAA process which created or modified this entity */
|
52 |
|
|
int time;
|
53 |
|
|
|
54 |
|
|
protected:
|
55 |
|
|
void _CopyRefFaces( MCFace & __src);
|
56 |
|
|
void _CopyMeshLink( MCFace & __mcFace);
|
57 |
|
|
};
|
58 |
|
|
|
59 |
|
|
}
|
60 |
|
|
|
61 |
|
|
#endif
|