1 |
francois |
106 |
#ifndef _TOXFEMPOINT_ |
2 |
|
|
#define _TOXFEMPOINT_ |
3 |
|
|
|
4 |
|
|
#ifdef WINDOWS_VERSION |
5 |
|
|
#ifdef BUILT_DLL_TOXFEM |
6 |
|
|
#define DLLPORTTOXFEM __declspec(dllexport) |
7 |
|
|
#else |
8 |
|
|
#define DLLPORTTOXFEM __declspec(dllimport) |
9 |
|
|
#endif |
10 |
|
|
#else |
11 |
|
|
#define DLLPORTTOXFEM |
12 |
|
|
#endif |
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
class DLLPORTTOXFEM TOXFEM_POINT |
17 |
|
|
{ |
18 |
|
|
public : |
19 |
|
|
TOXFEM_POINT(double xx,double yy, double zz,class MG_ELEMENT_TOPOLOGIQUE* element); |
20 |
|
|
~TOXFEM_POINT(); |
21 |
|
|
|
22 |
|
|
unsigned long get_id(void); |
23 |
|
|
void get_coord3(double *xyz); |
24 |
|
|
void get_coord2(double *uv); |
25 |
|
|
void change_coord2(double *uv); |
26 |
|
|
void get_normal(double *nor); |
27 |
|
|
void change_normal(double *nor); |
28 |
|
|
MG_ELEMENT_TOPOLOGIQUE* get_mg_element_topologique(void); |
29 |
|
|
static void remisecompteurid(void); |
30 |
|
|
|
31 |
|
|
private: |
32 |
|
|
unsigned long id; |
33 |
|
|
static unsigned long idmax; |
34 |
|
|
double x,y,z; |
35 |
|
|
double u,v; |
36 |
|
|
MG_ELEMENT_TOPOLOGIQUE* ele; |
37 |
|
|
double n[3]; |
38 |
|
|
|
39 |
|
|
}; |
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
#endif |