1 |
|
5 |
//------------------------------------------------------------
|
2 |
|
|
//------------------------------------------------------------
|
3 |
|
|
// MAGiC
|
4 |
|
|
// Jean Christophe Cuilli�e et Vincent FRANCOIS
|
5 |
|
|
// D�artement de G�ie M�anique - UQTR
|
6 |
|
|
//------------------------------------------------------------
|
7 |
|
|
// Le projet MAGIC est un projet de recherche du d�artement
|
8 |
|
|
// de g�ie m�anique de l'Universit�du Qu�ec �
|
9 |
|
|
// Trois Rivi�es
|
10 |
|
|
// Les librairies ne peuvent �re utilis�s sans l'accord
|
11 |
|
|
// des auteurs (contact : francois@uqtr.ca)
|
12 |
|
|
//------------------------------------------------------------
|
13 |
|
|
//------------------------------------------------------------
|
14 |
|
|
//
|
15 |
|
|
// mailleur1d.h
|
16 |
|
|
//
|
17 |
|
|
//------------------------------------------------------------
|
18 |
|
|
//------------------------------------------------------------
|
19 |
|
|
// COPYRIGHT 2000
|
20 |
|
|
// Version du 02/03/2006 �11H23
|
21 |
|
|
//------------------------------------------------------------
|
22 |
|
|
//------------------------------------------------------------
|
23 |
|
|
#ifndef _MAILLEUR1D_
|
24 |
|
|
#define _MAILLEUR1D_
|
25 |
|
|
|
26 |
|
|
#ifdef WINDOWS_VERSION
|
27 |
|
|
#ifdef BUILT_DLL_MAILLEUR
|
28 |
|
|
#define DLLPORTMAIL __declspec(dllexport)
|
29 |
|
|
#else
|
30 |
|
|
#define DLLPORTMAIL __declspec(dllimport)
|
31 |
|
|
#endif
|
32 |
|
|
#else
|
33 |
|
|
#define DLLPORTMAIL
|
34 |
|
|
#endif
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
#include "mg_maillage.h"
|
39 |
|
|
#include "mg_geometrie.h"
|
40 |
|
|
#include "mg_arete.h"
|
41 |
|
|
#include "mailleur.h"
|
42 |
|
|
#include "fct_taille_arete.h"
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
class DLLPORTMAIL MAILLEUR1D:public MAILLEUR
|
46 |
|
|
{
|
47 |
|
|
public :
|
48 |
|
|
MAILLEUR1D(MG_MAILLAGE* mgmai,MG_GEOMETRIE *mggeo,MG_ARETE* mgarete=NULL,FCT_TAILLE* fct_taille=NULL);
|
49 |
|
|
~MAILLEUR1D();
|
50 |
|
|
|
51 |
|
|
void maille(void);
|
52 |
|
|
void maille(MG_ARETE* mgarete,double t1=0.0,MG_NOEUD* noeud_depart=NULL,double t2=0.0,MG_NOEUD* noeud_arrivee=NULL);
|
53 |
francois |
35 |
void adapte(void);
|
54 |
|
5 |
|
55 |
|
|
private :
|
56 |
|
|
MG_MAILLAGE* mg_maillage;
|
57 |
|
|
MG_GEOMETRIE* mg_geometrie;
|
58 |
|
|
MG_ARETE* mg_arete;
|
59 |
|
|
FCT_TAILLE *metrique;
|
60 |
|
|
|
61 |
|
|
};
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
#endif
|