ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/sat/src/sat_courbe.h
Revision: 283
Committed: Tue Sep 13 21:11:20 2011 UTC (13 years, 8 months ago) by francois
Content type: text/plain
File size: 2254 byte(s)
Log Message:
structure de l'écriture

File Contents

# User Rev Content
1 francois 283 //------------------------------------------------------------
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     // sat_courbe.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 � 11H24
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23     #ifndef sat_courbeH
24     #define sat_courbeH
25     //---------------------------------------------------------------------------
26    
27     #ifdef WINDOWS_VERSION
28     #ifdef BUILT_DLL_SATLIB
29     #define DLLPORTSAT __declspec(dllexport)
30     #else
31     #define DLLPORTSAT __declspec(dllimport)
32     #endif
33     #else
34     #define DLLPORTSAT
35     #endif
36    
37    
38    
39     #include "sat_identificateur.h"
40     #include "tpl_liste_entite.h"
41    
42    
43     class DLLPORTSAT SAT_COURBE:public SAT_IDENTIFICATEUR
44     {
45     public:
46     SAT_COURBE(unsigned long num);
47     SAT_COURBE();
48     SAT_COURBE(SAT_COURBE& mdd);
49     virtual ~SAT_COURBE();
50    
51    
52     virtual void evaluer(double t,double *xyz) = 0;
53     virtual void deriver(double t,double *xyz) = 0;
54     virtual void deriver_seconde(double t,double *ddxyz,double* dxyz = NULL,double* xyz = NULL )=0;
55     virtual void inverser(double& t,double *xyz,double precision=1e-6) = 0;
56    
57     virtual double get_tmin()=0;
58     virtual double get_tmax()=0;
59    
60    
61     virtual double get_longueur(double t1,double t2,double precis=1e6)=0;
62    
63     virtual int get_type_geometrique(TPL_LISTE_ENTITE<double> &param)=0;
64     virtual void get_param_NURBS(int& indx_premier_ptctr,TPL_LISTE_ENTITE<double> &param)=0;
65    
66     virtual int est_periodique(void)=0;
67     virtual double get_periode(void)=0;
68    
69     protected:
70    
71     };
72    
73     #endif