ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/pir_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: 2105 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     // pir_courbe.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 � 11H22
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23     #ifdef BREP_PIRATE
24    
25     #ifndef __PIRCOURBE_
26     #define __PIRCOURBE_
27    
28    
29     #ifdef WINDOWS_VERSION
30     #ifdef BUILT_DLL_GEOMETRIE
31     #define DLLPORTGEOMETRIE __declspec(dllexport)
32     #else
33     #define DLLPORTGEOMETRIE __declspec(dllimport)
34     #endif
35     #else
36     #define DLLPORTGEOMETRIE
37     #endif
38    
39    
40     #include "mg_courbe.h"
41     #include "pgcourbe.h"
42     #include "pgpos1d.h"
43    
44     class DLLPORTGEOMETRIE PIR_COURBE:public MG_COURBE
45     {
46     public:
47     PIR_COURBE(unsigned long num,PG_COURBE *crb);
48     PIR_COURBE(PG_COURBE *crb);
49     PIR_COURBE(PIR_COURBE& mdd);
50     virtual ~PIR_COURBE();
51     virtual void evaluer(double t,double *xyz);
52     virtual void deriver(double t,double *xyz);
53     virtual void deriver_seconde(double t,double *ddxyz,double* dxyz = NULL,double* xyz = NULL );
54     virtual void inverser(double& t,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);
59     private:
60     const PG_COURBE *courbe;
61     PG_POSITION1D *pos;
62    
63    
64     };
65    
66    
67    
68    
69    
70     #endif
71    
72     #endif
73     #endif