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_MCEdge.h |
15 |
|
|
//####// |
16 |
|
|
//####//------------------------------------------------------------ |
17 |
|
|
//####//------------------------------------------------------------ |
18 |
|
|
//####// COPYRIGHT 2000-2024 |
19 |
|
|
//####// jeu 13 jun 2024 11:58:54 EDT |
20 |
|
|
//####//------------------------------------------------------------ |
21 |
|
|
//####//------------------------------------------------------------ |
22 |
foucault |
569 |
#ifndef CAD4FE_MCEdgeh
|
23 |
|
|
#define CAD4FE_MCEdgeh
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
#include "mg_geometrie.h"
|
27 |
|
|
#include "mg_arete.h"
|
28 |
|
|
|
29 |
|
|
#include <map>
|
30 |
|
|
#include <ostream>
|
31 |
|
|
#include <string>
|
32 |
|
|
#include <vector>
|
33 |
|
|
|
34 |
|
|
using namespace std;
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
francois |
1158 |
|
39 |
foucault |
569 |
namespace CAD4FE {
|
40 |
|
|
|
41 |
|
|
class MCVertex;
|
42 |
|
|
class MCFace;
|
43 |
|
|
class PolyCurve;
|
44 |
|
|
|
45 |
|
|
/**
|
46 |
|
|
* This class describes the MC Edge entity
|
47 |
|
|
*/
|
48 |
francois |
1158 |
class MCEdge : public MG_ARETE {
|
49 |
foucault |
569 |
public:
|
50 |
|
|
// TYPES DECLARATIONS
|
51 |
|
|
|
52 |
|
|
/** Constructor */
|
53 |
|
|
MCEdge(MG_ARETE * __refEdge);
|
54 |
|
|
MCEdge(std::string __idOriginal, PolyCurve * __polycurve);
|
55 |
|
|
MCEdge(std::string , MCEdge &, MCEdge &);
|
56 |
|
|
~MCEdge();
|
57 |
|
|
|
58 |
|
|
// GEOMETRIC PROPERTIES
|
59 |
|
|
double GetLength();
|
60 |
|
|
|
61 |
|
|
// Return the polycurve of this mc edge
|
62 |
|
|
PolyCurve * GetPolyCurve ( );
|
63 |
|
|
|
64 |
|
|
int IsInterior();
|
65 |
|
|
|
66 |
|
|
void _CopyMeshLink( MCEdge & );
|
67 |
|
|
|
68 |
francois |
763 |
virtual void enregistrer(std::ostream& o,double version);
|
69 |
foucault |
569 |
|
70 |
|
|
/** modification time : represent the last step number
|
71 |
|
|
* of the MCAA process which created or modified this entity */
|
72 |
|
|
int time;
|
73 |
|
|
};
|
74 |
|
|
|
75 |
|
|
}
|
76 |
|
|
|
77 |
|
|
#endif// CAD4FE_MCEDGEh
|