1 |
foucault |
27 |
//---------------------------------------------------------------------------
|
2 |
|
|
|
3 |
|
|
#ifndef CAD4FE_CovertexCriteriaH
|
4 |
|
|
#define CAD4FE_CovertexCriteriaH
|
5 |
|
|
//---------------------------------------------------------------------------
|
6 |
|
|
|
7 |
foucault |
569 |
#include "CAD4FE_MCT_Platform.h"
|
8 |
foucault |
27 |
#include <vector>
|
9 |
|
|
#include <ot_mathematique.h>
|
10 |
|
|
|
11 |
|
|
class MG_COSOMMET;
|
12 |
|
|
|
13 |
|
|
namespace CAD4FE {
|
14 |
|
|
|
15 |
|
|
class MCVertex;
|
16 |
|
|
class MCEdge;
|
17 |
|
|
|
18 |
|
|
class CAD4FE_MCT_ITEM CovertexCriteria {
|
19 |
|
|
public:
|
20 |
|
|
CovertexCriteria(MG_COSOMMET * __covertex, double __meshSize);
|
21 |
|
|
bool IsTouchingVertex(MCVertex * __mcVertex)const;
|
22 |
|
|
MG_COSOMMET * GetTouchingCovertex()const;
|
23 |
|
|
MG_COSOMMET * GetCovertex() const;
|
24 |
|
|
MCEdge * GetEdge() const;
|
25 |
|
|
double GetLength()const;
|
26 |
|
|
OT_VECTEUR_3D GetPoint()const;
|
27 |
|
|
private:
|
28 |
|
|
MG_COSOMMET * _covertex;
|
29 |
|
|
MG_COSOMMET * _touchingCovertex;
|
30 |
|
|
double _lengthToOppositeVertex;
|
31 |
|
|
OT_VECTEUR_3D _offsetPoint;
|
32 |
|
|
double _offsetT;
|
33 |
|
|
double _meshSize;
|
34 |
|
|
double _length;
|
35 |
|
|
};
|
36 |
|
|
|
37 |
|
|
}
|
38 |
|
|
|
39 |
|
|
#endif
|