ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/pir_courbe.h
Revision: 5
Committed: Tue Jun 12 20:26:34 2007 UTC (17 years, 11 months ago)
Content type: text/plain
Original Path: magic/lib/geometrie/geometrie/src/pir_courbe.h
File size: 2142 byte(s)
Log Message:

File Contents

# User Rev Content
1 5 //------------------------------------------------------------
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