MAGiC  V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
CAD4FE_VertexCriteria.h
Aller à la documentation de ce fichier.
1 //####//------------------------------------------------------------
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_VertexCriteria.h
15 //####//
16 //####//------------------------------------------------------------
17 //####//------------------------------------------------------------
18 //####// COPYRIGHT 2000-2024
19 //####// jeu 13 jun 2024 11:58:56 EDT
20 //####//------------------------------------------------------------
21 //####//------------------------------------------------------------
22 
23 #ifndef CAD4FE_VertexCriteriaH
24 #define CAD4FE_VertexCriteriaH
25 
26 #include "CAD4FE_MCT_Platform.h"
27 
28 #include <vector>
29 #include <ot_mathematique.h>
30 
31 namespace CAD4FE {
32 
33 class MCVertex;
34 class CovertexCriteria;
35 class MCBody;
36 class MCAA;
37 
39 public:
40  VertexCriteria (MCVertex * __mcVertex, MCAA * __mcaa);
41  ~VertexCriteria ();
42  std::string InventorText();
43  double GetDeviationAngle();
44  double GetEdgeLength();
45  MCVertex * GetVertex();
46  void Update();
47  double UpdateShapeCriteria();
48 
49  double GetScore();
50  double GetDeviationAngleScore();
51  double GetEdgeLengthScore();
52 
53  void SetRelativeSag(double);
54  void SetLimitAngle(double);
55  void SetMaxOverdensity(double);
56 private:
57  std::vector <CovertexCriteria *> _covertexProps;
60 
61  // meshing parameters
62  double _meshSize;
63 
64  // vertex criteria
66 
68 };
69 
70 }
71 
72 #endif
void SetLimitAngle(double)
VertexCriteria(MCVertex *__mcVertex, MCAA *__mcaa)
void SetRelativeSag(double)
std::vector< CovertexCriteria * > _covertexProps
void SetMaxOverdensity(double)