ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/step_courbe.h
Revision: 906
Committed: Mon Nov 13 22:30:18 2017 UTC (7 years, 6 months ago) by couturad
Content type: text/plain
File size: 2310 byte(s)
Log Message:
Nouveau opencascade commit 1

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 couturad 906 virtual bool est_sur_courbe(double *xyz,double precision=1e-6);
54    
55 francois 283 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 francois 763 virtual void enregistrer(std::ostream& o,double version);
59 francois 283
60     virtual int get_type_geometrique(TPL_LISTE_ENTITE<double> &param);
61     virtual void get_param_NURBS(int& indx_premier_ptctr,TPL_LISTE_ENTITE<double> &param);
62    
63    
64     private:
65     ST_COURBE *courbe;
66    
67    
68     };
69    
70    
71    
72    
73    
74     #endif
75    
76     #endif
77    
78    
79