1 |
//------------------------------------------------------------ |
2 |
//------------------------------------------------------------ |
3 |
// MAGiC |
4 |
// Jean Christophe Cuilli�re et Vincent FRANCOIS |
5 |
// D�partement de G�nie M�canique - UQTR |
6 |
//------------------------------------------------------------ |
7 |
// Le projet MAGIC est un projet de recherche du d�partement |
8 |
// de g�nie m�canique de l'Universit� du Qu�bec � |
9 |
// Trois Rivi�res |
10 |
// Les librairies ne peuvent �tre utilis�es sans l'accord |
11 |
// des auteurs (contact : francois@uqtr.ca) |
12 |
//------------------------------------------------------------ |
13 |
//------------------------------------------------------------ |
14 |
// |
15 |
// acis_surface.h |
16 |
// |
17 |
//------------------------------------------------------------ |
18 |
//------------------------------------------------------------ |
19 |
// COPYRIGHT 2000 |
20 |
// Version du 02/03/2006 � 11H22 |
21 |
//------------------------------------------------------------ |
22 |
//------------------------------------------------------------ |
23 |
#ifdef BREP_SAT |
24 |
|
25 |
#ifndef __ACISSURFACE_ |
26 |
#define __ACISSURFACE_ |
27 |
|
28 |
#ifdef WINDOWS_VERSION |
29 |
#ifdef BUILT_DLL_GEOMETRIE |
30 |
#define DLLPORTGEOMETRIE __declspec(dllexport) |
31 |
#else |
32 |
#define DLLPORTGEOMETRIE __declspec(dllimport) |
33 |
#endif |
34 |
#else |
35 |
#define DLLPORTGEOMETRIE |
36 |
#endif |
37 |
|
38 |
|
39 |
#include "sat_surface.h" |
40 |
#include "mg_surface.h" |
41 |
|
42 |
class DLLPORTGEOMETRIE ACIS_SURFACE:public MG_SURFACE |
43 |
{ |
44 |
public: |
45 |
ACIS_SURFACE(unsigned long num,SAT_SURFACE *srf); |
46 |
ACIS_SURFACE(SAT_SURFACE *srf); |
47 |
ACIS_SURFACE(ACIS_SURFACE& mdd); |
48 |
virtual ~ACIS_SURFACE(); |
49 |
virtual void evaluer(double *uv,double *xyz); |
50 |
virtual void deriver(double *uv,double *xyzdu, double *xyzdv); |
51 |
virtual void deriver_seconde(double *uv,double* xyzduu,double* xyzduv,double* xyzdvv,double *xyz = NULL , double *xyzdu = NULL , double *xyzdv =NULL); |
52 |
virtual void inverser(double *uv,double *xyz,double precision=1e-6); |
53 |
virtual bool est_sur_surface(double *xyz,double precision=1e-6); |
54 |
virtual int est_periodique_u(void); |
55 |
virtual int est_periodique_v(void); |
56 |
virtual double get_periode_u(void); |
57 |
virtual double get_periode_v(void); |
58 |
virtual void enregistrer(std::ostream& o,double version); |
59 |
|
60 |
virtual int get_type_geometrique(TPL_LISTE_ENTITE<double> ¶m); |
61 |
virtual void get_param_NURBS(int& indx_premier_ptctr,TPL_LISTE_ENTITE<double> ¶m); |
62 |
virtual void get_liste_pole(std::vector<double> *liste_pole,double eps); |
63 |
|
64 |
private: |
65 |
SAT_SURFACE *surface; |
66 |
|
67 |
}; |
68 |
|
69 |
|
70 |
|
71 |
|
72 |
|
73 |
#endif |
74 |
|
75 |
#endif |
76 |
|
77 |
|