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_courbe.h |
16 |
// |
17 |
//------------------------------------------------------------ |
18 |
//------------------------------------------------------------ |
19 |
// COPYRIGHT 2000 |
20 |
// Version du 02/03/2006 � 11H22 |
21 |
//------------------------------------------------------------ |
22 |
//------------------------------------------------------------ |
23 |
#ifdef BREP_SAT |
24 |
|
25 |
#ifndef __ACISCOURBE_ |
26 |
#define __ACISCOURBE_ |
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 "mg_courbe.h" |
40 |
#include "sat_courbe.h" |
41 |
|
42 |
|
43 |
class DLLPORTGEOMETRIE ACIS_COURBE:public MG_COURBE |
44 |
{ |
45 |
public: |
46 |
ACIS_COURBE(unsigned long num,SAT_COURBE *crb); |
47 |
ACIS_COURBE(SAT_COURBE *crb); |
48 |
ACIS_COURBE(ACIS_COURBE& mdd); |
49 |
virtual ~ACIS_COURBE(); |
50 |
virtual void evaluer(double t,double *xyz); |
51 |
virtual void deriver(double t,double *xyz); |
52 |
virtual void deriver_seconde(double t,double *ddxyz,double* dxyz = NULL,double* xyz = NULL ); |
53 |
virtual void inverser(double& t,double *xyz,double precision=1e-6); |
54 |
virtual bool est_sur_courbe(double *xyz,double precision=1e-6); |
55 |
virtual int est_periodique(void); |
56 |
virtual double get_periode(void); |
57 |
virtual double get_longueur(double t1,double t2,double precis=1e-6); |
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 |
|
63 |
private: |
64 |
SAT_COURBE *courbe; |
65 |
|
66 |
|
67 |
}; |
68 |
|
69 |
|
70 |
|
71 |
|
72 |
|
73 |
#endif |
74 |
|
75 |
#endif |
76 |
|
77 |
|