1 |
foucault |
27 |
//---------------------------------------------------------------------------
|
2 |
|
|
|
3 |
|
|
#ifndef CAD4FE_FaceBoundaryPointH
|
4 |
|
|
#define CAD4FE_FaceBoundaryPointH
|
5 |
|
|
//---------------------------------------------------------------------------
|
6 |
|
|
|
7 |
|
|
#include <ot_mathematique.h>
|
8 |
|
|
#include "CAD4FE_Mesher_platform.h"
|
9 |
|
|
|
10 |
|
|
class MG_FACE;
|
11 |
|
|
class MG_COARETE;
|
12 |
|
|
class OT_MATRICE_3D;
|
13 |
|
|
class MG_SOMMET;
|
14 |
|
|
|
15 |
|
|
namespace CAD4FE {
|
16 |
|
|
|
17 |
|
|
class MCNode;
|
18 |
|
|
|
19 |
|
|
class CAD4FE_MESHER_ITEM FaceBoundaryPoint {
|
20 |
|
|
public:
|
21 |
|
|
FaceBoundaryPoint(MCNode * __n, MG_FACE *__refFace);
|
22 |
|
|
FaceBoundaryPoint(MCNode * __n,const FaceBoundaryPoint & __fbp);
|
23 |
|
|
~FaceBoundaryPoint();
|
24 |
|
|
MG_COARETE * coedge1;
|
25 |
|
|
double coedge1T;
|
26 |
|
|
MG_COARETE * coedge2;
|
27 |
|
|
double vecTpCoedge1Der[2];
|
28 |
|
|
double coedge2T;
|
29 |
|
|
double vecTpCoedge2Der[2];
|
30 |
|
|
int TestInteriorDirection(double __direction[3]);
|
31 |
|
|
double GetInteriorDirectionAngle(double __direction[3]);
|
32 |
|
|
void Initialize();
|
33 |
|
|
MG_SOMMET * GetMergedVertex();
|
34 |
|
|
MCNode * GetNode();
|
35 |
|
|
|
36 |
|
|
private:
|
37 |
|
|
MG_FACE *_face;
|
38 |
|
|
MCNode * _node;
|
39 |
|
|
OT_MATRICE_3D _tangentFrame;
|
40 |
|
|
OT_MATRICE_3D _tangentTransform;
|
41 |
|
|
MG_SOMMET * _mergedVertex;
|
42 |
|
|
};
|
43 |
|
|
|
44 |
|
|
}
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
#endif
|
48 |
|
|
|