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_CoVertexCriteria.h |
15 |
|
|
//####// |
16 |
|
|
//####//------------------------------------------------------------ |
17 |
|
|
//####//------------------------------------------------------------ |
18 |
|
|
//####// COPYRIGHT 2000-2024 |
19 |
|
|
//####// jeu 13 jun 2024 11:58:56 EDT |
20 |
|
|
//####//------------------------------------------------------------ |
21 |
|
|
//####//------------------------------------------------------------ |
22 |
foucault |
27 |
|
23 |
|
|
#ifndef CAD4FE_CovertexCriteriaH
|
24 |
|
|
#define CAD4FE_CovertexCriteriaH
|
25 |
|
|
|
26 |
foucault |
569 |
#include "CAD4FE_MCT_Platform.h"
|
27 |
foucault |
27 |
#include <vector>
|
28 |
|
|
#include <ot_mathematique.h>
|
29 |
|
|
|
30 |
|
|
class MG_COSOMMET;
|
31 |
|
|
|
32 |
|
|
namespace CAD4FE {
|
33 |
|
|
|
34 |
|
|
class MCVertex;
|
35 |
|
|
class MCEdge;
|
36 |
|
|
|
37 |
francois |
1158 |
class CovertexCriteria {
|
38 |
foucault |
27 |
public:
|
39 |
|
|
CovertexCriteria(MG_COSOMMET * __covertex, double __meshSize);
|
40 |
|
|
bool IsTouchingVertex(MCVertex * __mcVertex)const;
|
41 |
|
|
MG_COSOMMET * GetTouchingCovertex()const;
|
42 |
|
|
MG_COSOMMET * GetCovertex() const;
|
43 |
|
|
MCEdge * GetEdge() const;
|
44 |
|
|
double GetLength()const;
|
45 |
|
|
OT_VECTEUR_3D GetPoint()const;
|
46 |
|
|
private:
|
47 |
|
|
MG_COSOMMET * _covertex;
|
48 |
|
|
MG_COSOMMET * _touchingCovertex;
|
49 |
|
|
double _lengthToOppositeVertex;
|
50 |
|
|
OT_VECTEUR_3D _offsetPoint;
|
51 |
|
|
double _offsetT;
|
52 |
|
|
double _meshSize;
|
53 |
|
|
double _length;
|
54 |
|
|
};
|
55 |
|
|
|
56 |
|
|
}
|
57 |
|
|
|
58 |
|
|
#endif
|