1 |
#ifndef _TOIBREPPOINT_ |
2 |
#define _TOIBREPPOINT_ |
3 |
|
4 |
#ifdef WINDOWS_VERSION |
5 |
#ifdef BUILT_DLL_TOIBREP |
6 |
#define DLLPORTTOIBREP __declspec(dllexport) |
7 |
#else |
8 |
#define DLLPORTTOIBREP __declspec(dllimport) |
9 |
#endif |
10 |
#else |
11 |
#define DLLPORTTOIBREP |
12 |
#endif |
13 |
|
14 |
#include "ot_boite_3d.h" |
15 |
|
16 |
class DLLPORTTOIBREP TOIBREP_POINT |
17 |
{ |
18 |
public : |
19 |
TOIBREP_POINT(double xx,double yy, double zz,double uu, double vv,int inte,class MG_FACE* element); |
20 |
TOIBREP_POINT(double xx,double yy, double zz,double tt,int inte,class MG_FACE* element); |
21 |
~TOIBREP_POINT(); |
22 |
|
23 |
unsigned long get_id(void); |
24 |
void get_coord3(double *xyz); |
25 |
void get_coord2(double *uv); |
26 |
void get_coord1(double &t); |
27 |
void change_coord2(double *uv); |
28 |
void change_coord1(double t); |
29 |
void get_normal(double *nor); |
30 |
void change_normal(double *nor); |
31 |
MG_FACE* get_mg_face(void); |
32 |
static void remisecompteurid(void); |
33 |
int get_interieur(void); |
34 |
void change_interieur(void); |
35 |
BOITE_3D get_boite_3D(void); |
36 |
int ajoute_point_eps(double *xyz); |
37 |
void get_point_eps(int num,double *xyz); |
38 |
int get_nb_point_eps(void); |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
private: |
44 |
unsigned long id; |
45 |
static unsigned long idmax; |
46 |
double x,y,z; |
47 |
double u,v; |
48 |
MG_FACE* ele; |
49 |
double n[3]; |
50 |
int interieur; |
51 |
double xyzeps[12]; |
52 |
int nbpointeps; |
53 |
}; |
54 |
|
55 |
|
56 |
|
57 |
|
58 |
|
59 |
|
60 |
#endif |