ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/toIbrep/src/toibrep_point.h
Revision: 276
Committed: Wed Jun 15 18:25:46 2011 UTC (13 years, 11 months ago) by francois
Content type: text/plain
File size: 1166 byte(s)
Log Message:
Correction de bug + Version toIbrep  version du premier exmple complet + construction de la vectorisation a la lecture du fichier

File Contents

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