1 |
sattarpa |
543 |
#ifndef _MAILLEUR2D_MERGEMAI_ |
2 |
|
|
#define _MAILLEUR2D_MERGEMAI_ |
3 |
|
|
#include "mailleur.h" |
4 |
|
|
#include "tpl_octree.h" |
5 |
|
|
class MG_MAILLAGE; |
6 |
|
|
class MG_GEOMETRIE; |
7 |
|
|
class MG_NOEUD; |
8 |
|
|
class MG_SEGMENT; |
9 |
|
|
class MG_GESTIONNAIRE; |
10 |
|
|
class MG_TRIANGLE; |
11 |
|
|
class MG_ELEMENT_TOPOLOGIQUE; |
12 |
|
|
class MG_FILE; |
13 |
|
|
|
14 |
|
|
class MAILLEUR2D_MERGEMAI |
15 |
|
|
{ |
16 |
|
|
public: |
17 |
|
|
MAILLEUR2D_MERGEMAI(char* cadfilename,char* scanfilename,char* mergefilename,int cadmeshno,int scnmeshno); |
18 |
|
|
MAILLEUR2D_MERGEMAI(MAILLEUR2D_MERGEMAI& mdd); |
19 |
|
|
~MAILLEUR2D_MERGEMAI(); |
20 |
|
|
|
21 |
|
|
void mergmsh(void); |
22 |
|
|
|
23 |
|
|
|
24 |
|
|
private: |
25 |
|
|
void proxndmerg(MG_MAILLAGE* maimrg, double search_radius,MG_NOEUD* nd,TPL_OCTREE<MG_NOEUD*,MG_NOEUD*> &octreends,double proximity_coof, |
26 |
|
|
TPL_MAP_ENTITE<MG_NOEUD*> &removescnbndnd,TPL_OCTREE<MG_SEGMENT*,MG_NOEUD*> &octreesegs); |
27 |
|
|
void proxsegmrg(MG_MAILLAGE* maimrg, double search_radius,MG_NOEUD* bndscnd,TPL_OCTREE<MG_SEGMENT*,MG_NOEUD*> &octreesegs,TPL_MAP_ENTITE<MG_NOEUD*> &removescnbndnd_prxseg); |
28 |
|
|
double search_radius; |
29 |
|
|
double proximity_coof; |
30 |
|
|
MG_GESTIONNAIRE* gestcad; |
31 |
|
|
MG_GESTIONNAIRE* gestscan; |
32 |
|
|
MG_GESTIONNAIRE* mergegest; |
33 |
|
|
char* cadfilename; |
34 |
|
|
char* scanfilename; |
35 |
|
|
char* mergefilename; |
36 |
|
|
TPL_OCTREE<MG_NOEUD*,MG_NOEUD*> octreends; |
37 |
|
|
TPL_OCTREE<MG_SEGMENT*,MG_NOEUD*> octreesegs; |
38 |
|
|
TPL_MAP_ENTITE<MG_NOEUD*> removescnbndnd; |
39 |
|
|
TPL_MAP_ENTITE<MG_NOEUD*> removescnbndnd_prxseg; |
40 |
|
|
MG_MAILLAGE* maimrg; |
41 |
|
|
MG_GEOMETRIE* geo; |
42 |
|
|
MG_NOEUD* bndscnd; |
43 |
|
|
int cadmeshno; |
44 |
|
|
int scnmeshno; |
45 |
|
|
|
46 |
|
|
}; |
47 |
|
|
|
48 |
|
|
|
49 |
|
|
#endif |