1 |
|
5 |
#ifndef OCC_fonctionH
|
2 |
|
|
#define OCC_fonctionH
|
3 |
|
|
|
4 |
|
|
#include <atl\atlmod.h>
|
5 |
|
|
|
6 |
|
|
//------------------------------------------------------------------------------
|
7 |
|
|
|
8 |
|
|
#ifdef WINDOWS_VERSION
|
9 |
|
|
#ifdef BUILT_DLL_RECONSTRUCTION
|
10 |
|
|
#define DLLPORTRECONSTRUCTION __declspec(dllexport)
|
11 |
|
|
#else
|
12 |
|
|
#define DLLPORTRECONSTRUCTION __declspec(dllimport)
|
13 |
|
|
#endif
|
14 |
|
|
#else
|
15 |
|
|
#define DLLPORTRECONSTRUCTION
|
16 |
|
|
#endif
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
class DLLPORTRECONSTRUCTION OCC_FONCTION
|
20 |
|
|
{
|
21 |
|
|
public:
|
22 |
|
|
OCC_FONCTION();
|
23 |
|
|
virtual ~OCC_FONCTION();
|
24 |
|
|
|
25 |
|
|
int OCC_FONCTION::Creer_Coquille();
|
26 |
|
|
int OCC_FONCTION::Ajouter_face_Coquille();
|
27 |
|
|
int OCC_FONCTION::Enregistrer(char *path);
|
28 |
|
|
int OCC_FONCTION::Creer_Surf_Plane(double Pnt_Insersion[3], double Vect_Normal[3]);
|
29 |
|
|
int OCC_FONCTION::Ajouter_Contour_Face(int ii);
|
30 |
|
|
int OCC_FONCTION::Enregistrer_Face(char* path);
|
31 |
|
|
int OCC_FONCTION::Creer_Surface_Cylindrique(double Pnt_Insersion[3], double Vect_Directeur[3],double Rayon);
|
32 |
|
|
int OCC_FONCTION::Creer_Surface_Conique(double Pnt_Insersion[3], double Vect_Directeur[3],double Rayon, double Angle);
|
33 |
|
|
int OCC_FONCTION::Creer_Surface_Torique(double Pnt_Insersion[], double Vect_Directeur[], double GRayon, double PRayon);
|
34 |
|
|
int OCC_FONCTION::Creer_Surf_Spherique(double Pnt_Insersion[], double Vect_Directeur[], double Rayon);
|
35 |
|
|
|
36 |
|
|
int OCC_FONCTION::Initialiser_Surface();
|
37 |
|
|
int OCC_FONCTION::Rapprocher_Surface_Point(double x1, double y1, double z1);
|
38 |
|
|
int OCC_FONCTION::Calculer_Surface();
|
39 |
|
|
int OCC_FONCTION::Determiner_Surface();
|
40 |
|
|
int OCC_FONCTION::Initialiser_Contour_Contraint();
|
41 |
|
|
int OCC_FONCTION::Ajouter_Point_Courbe(double x1, double y1, double z1, int i1);
|
42 |
|
|
int OCC_FONCTION::Ajouter_Courbe_Contour_Contraint(int nbpts);
|
43 |
|
|
int OCC_FONCTION::Rapprocher_Surface_Contour();
|
44 |
|
|
int OCC_FONCTION::Construire_Courbe(double x, double y, double z, int i);
|
45 |
|
|
int OCC_FONCTION::Ajouter_courbe_liste(int nb_pts,int num);
|
46 |
|
|
int OCC_FONCTION::Construire_Surface_Contour(int num);
|
47 |
|
|
int OCC_FONCTION::Convertir_Surface();
|
48 |
|
|
int OCC_FONCTION::Creer_Face_Surface();
|
49 |
|
|
|
50 |
|
|
int OCC_FONCTION::Creer_Contour();
|
51 |
|
|
int OCC_FONCTION::Creer_Arete_Lineaire(double P1[3], double P2[3]);
|
52 |
|
|
int OCC_FONCTION::Creer_Arete_Circulaire(double Pnt_Insersion[3], double Normal[3],double P1[3], double P2[3], double Rayon);
|
53 |
|
|
int OCC_FONCTION::Creer_Arete_Elliptique(double Pnt_Insersion[], double P1[], double P2[], double GRayon, double PRayon);
|
54 |
|
|
|
55 |
|
|
int OCC_FONCTION::Ajouter_Point_Arete(double x, double y, double z, int i);
|
56 |
|
|
int OCC_FONCTION::Construire_Arete_Spline(int nb_pts);
|
57 |
|
|
int OCC_FONCTION::Enregistrer_Arete(char* path);
|
58 |
|
|
|
59 |
|
|
int OCC_FONCTION::Rapprocher_Surface_Courbe_Spline(int nb);
|
60 |
|
|
int OCC_FONCTION::Ajouter_Arete_Contour(int nb);
|
61 |
|
|
int OCC_FONCTION::Initialiser_Surface_Cylindrique(double Pnt_Insersion[3], double Vect_Directeur[3],double Rayon);
|
62 |
|
|
int OCC_FONCTION::Initialiser_Surface_Surface();
|
63 |
|
|
|
64 |
|
|
int OCC_FONCTION::Ajouter_Point_Array_Ideal(double x, double y, double z, int i);
|
65 |
|
|
int OCC_FONCTION::Determiner_Param_Boite(int i);
|
66 |
|
|
double OCC_FONCTION::Get_Param_Boite(int i);
|
67 |
|
|
int OCC_FONCTION::Determiner_Plan(int nb, double Epsilon);
|
68 |
|
|
|
69 |
|
|
int OCC_FONCTION::Ligne_Revolution(double Pnt_Inser[], double Vect_Direc[]);
|
70 |
|
|
double OCC_FONCTION::Distance_Point_Curve(double x, double y, double z);
|
71 |
|
|
int OCC_FONCTION::Pt_Proj_Ligne();
|
72 |
|
|
double OCC_FONCTION::Pnt_Proj_Ligne(int ii);
|
73 |
|
|
int OCC_FONCTION::GCercle_Tore(double Pnt_Insersion[3], double Vect_Directeur[3],double Rayon);
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
int OCC_FONCTION::Creer_Surface_Cylindrique_Revolution(double Pnt_Insersion[3], double Vect_Directeur[3],double Vecteur1[3],double Rayon);
|
77 |
|
|
int OCC_FONCTION::Face_Revolution();
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
int OCC_FONCTION::Ajouter_Surface_liste_Ideal(int num);
|
81 |
|
|
int OCC_FONCTION::Projeter_Point_Surface_Idealisee(double x, double y,double z, int num);
|
82 |
|
|
int OCC_FONCTION::Pt_Proj_Surface_Ideal();
|
83 |
|
|
double OCC_FONCTION::Pnt_Proj_Surface_Ideal(int ii);
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
|
|
private:
|
89 |
|
|
|
90 |
|
|
int(*CC)(void);
|
91 |
|
|
int(*AFC)(void);
|
92 |
|
|
int(*Enr)(char* path1);
|
93 |
|
|
int(*CSP)(double Pnt_Inser[3], double Vect_Nor[3]);
|
94 |
|
|
int(*ACF)(int ii);
|
95 |
|
|
int(*EF)(char *path1);
|
96 |
|
|
int(*CSC)(double Pnt_Inser[], double Vect_Direc[], double R);
|
97 |
|
|
int(*CSCo)(double Pnt_Inser[], double Vect_Direc[], double R, double Ang);
|
98 |
|
|
int(*CST)(double Pnt_Inser[], double Vect_Direc[], double GR, double PR);
|
99 |
|
|
int(*CSS)(double Pnt_Inser[], double Vect_Direc[], double R);
|
100 |
|
|
|
101 |
|
|
int(*IS)(void);
|
102 |
|
|
int(*RSP)(double x, double y, double z);
|
103 |
|
|
int(*CalS)(void);
|
104 |
|
|
int(*DetS)(void);
|
105 |
|
|
int(*ICC)(void);
|
106 |
|
|
int(*APC)(double x, double y, double z,int i);
|
107 |
|
|
int(*ACCC)(int nb_points);
|
108 |
|
|
int(*RSC)(void);
|
109 |
|
|
int(*CCurv)(double xx, double yy, double zz, int ii);
|
110 |
|
|
int(*ACl)(int nb_points,int num);
|
111 |
|
|
int(*CSAC)(int nb);
|
112 |
|
|
int(*CS)(void);
|
113 |
|
|
int(*CFS)(void);
|
114 |
|
|
int(*CCont)(void);
|
115 |
|
|
int(*CAL)(double Point1[3], double Point2[3]);
|
116 |
|
|
int(*CAC)(double Pnt_Inser[3], double Normale[3],double Point1[3], double Point2[3], double R);
|
117 |
|
|
int(*CAE)(double Pnt_Inser[3], double Point1[3], double Point2[3], double GR, double PR);
|
118 |
|
|
int(*APA)(double xx, double yy, double zz, int ii);
|
119 |
|
|
int(*CAS)(int nbpts);
|
120 |
|
|
int(*EA)(char *path1);
|
121 |
|
|
|
122 |
|
|
int(*RapSCS)(int nb);
|
123 |
|
|
int(*AAC)(int nb);
|
124 |
|
|
|
125 |
|
|
int(*ISC)(double Pnt_Inser[], double Vect_Direc[], double R);
|
126 |
|
|
int(*ISS)(void);
|
127 |
|
|
|
128 |
|
|
int(*APAI)(double x, double y, double z,int i);
|
129 |
|
|
|
130 |
|
|
int (*DPB)(int i);
|
131 |
|
|
double (*GPB)(int i);
|
132 |
|
|
int (*DP)(int nb, double Epsilon);
|
133 |
|
|
|
134 |
|
|
|
135 |
|
|
int (*LR)(double Pnt_Inser[], double Vect_Direc[]);
|
136 |
|
|
double (*DPC)(double x, double y, double z);
|
137 |
|
|
int (*PPL)();
|
138 |
|
|
double (*PnPL)(int ii);
|
139 |
|
|
int (*GCT)(double Pnt_Insersion[3], double Vect_Directeur[3],double Rayon);
|
140 |
|
|
|
141 |
|
|
int (*CSCR)(double Pnt_Insersion[3], double Vect_Directeur[3],double Vecteur1[3],double Rayon);
|
142 |
|
|
int (*FR)();
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
|
146 |
|
|
|
147 |
|
|
int (*ASlI)(int num);
|
148 |
|
|
int (*PPSI)(double x, double y,double z,int num);
|
149 |
|
|
int (*PPSId)();
|
150 |
|
|
double (*PPSIde)(int ii);
|
151 |
|
|
|
152 |
|
|
|
153 |
|
|
|
154 |
|
|
|
155 |
|
|
int c;
|
156 |
|
|
double d;
|
157 |
|
|
bool b;
|
158 |
|
|
|
159 |
|
|
} ;
|
160 |
|
|
|
161 |
|
|
|
162 |
|
|
//extern OCC_FONCTION fonction;
|
163 |
|
|
#endif
|
164 |
|
|
|
165 |
|
|
|