ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/toIbrep/src/toibrep_point.h
Revision: 259
Committed: Fri Aug 13 14:12:04 2010 UTC (14 years, 9 months ago) by francois
Content type: text/plain
File size: 852 byte(s)
Log Message:
Changement de nom du projet toxfem pour toIbrep

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    
15    
16 francois 259 class DLLPORTTOIBREP TOIBREP_POINT
17 francois 106 {
18     public :
19 francois 259 TOIBREP_POINT(double xx,double yy, double zz,class MG_ELEMENT_TOPOLOGIQUE* element);
20     ~TOIBREP_POINT();
21 francois 106
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