ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/step_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: 2222 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     // step_courbe.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 � 11H23
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23     #ifdef BREP_STEP
24    
25     #ifndef __STEPCOURBE_
26     #define __STEPCOURBE_
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 "st_courbe.h"
41    
42     class DLLPORTGEOMETRIE STEP_COURBE:public MG_COURBE
43     {
44     public:
45     STEP_COURBE(unsigned long num,ST_COURBE *crb);
46     STEP_COURBE(ST_COURBE *crb);
47     STEP_COURBE(STEP_COURBE& mdd);
48     virtual ~STEP_COURBE();
49     virtual void evaluer(double t,double *xyz);
50     virtual void deriver(double t,double *xyz);
51     virtual void deriver_seconde(double t,double *ddxyz,double* dxyz = NULL,double* xyz = NULL );
52     virtual void inverser(double& t,double *xyz,double precision=1e-6);
53     virtual int est_periodique(void);
54     virtual double get_periode(void);
55     virtual double get_longueur(double t1,double t2,double precis=1e-6);
56     virtual void enregistrer(std::ostream& o);
57    
58     virtual int get_type_geometrique(TPL_LISTE_ENTITE<double> &param);
59     virtual void get_param_NURBS(int& indx_premier_ptctr,TPL_LISTE_ENTITE<double> &param);
60    
61    
62     private:
63     ST_COURBE *courbe;
64    
65    
66     };
67    
68    
69    
70    
71    
72     #endif
73    
74     #endif
75    
76    
77