ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/occ_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: 2565 byte(s)
Log Message:
structure de l'écriture

File Contents

# User Rev Content
1 francois 283 //---------------------------------------------------------------------------
2     //------------------------------------------------------------
3     //------------------------------------------------------------
4     // MAGiC
5     // Jean Christophe Cuilli�re et Vincent FRANCOIS
6     // D�partement de G�nie M�canique - UQTR
7     //------------------------------------------------------------
8     // Le projet MAGIC est un projet de recherche du d�partement
9     // de g�nie m�canique de l'Universit� du Qu�bec �
10     // Trois Rivi�res
11     // Les librairies ne peuvent �tre utilis�es sans l'accord
12     // des auteurs (contact : francois@uqtr.ca)
13     //------------------------------------------------------------
14     //------------------------------------------------------------
15     //
16     // OCC_Courbe.h
17     //
18     //------------------------------------------------------------
19     //------------------------------------------------------------
20     // COPYRIGHT 2000
21     // Version du 02/03/2006 � 11H22
22     //------------------------------------------------------------
23     //------------------------------------------------------------
24     //---------------------------------------------------------------------------
25     #ifdef BREP_OCC
26     #ifndef OCC_CourbeH
27     #define OCC_CourbeH
28     //---------------------------------------------------------------------------
29    
30     #ifdef WINDOWS_VERSION
31     #ifdef BUILT_DLL_GEOMETRIE
32     #define DLLPORTGEOMETRIE __declspec(dllexport)
33     #else
34     #define DLLPORTGEOMETRIE __declspec(dllimport)
35     #endif
36     #else
37     #define DLLPORTGEOMETRIE
38     #endif
39    
40    
41    
42     #include "mg_courbe.h"
43     #include "Geom_Curve.hxx"
44     #include "occ_fonction1.h"
45     #include "TopoDS_Edge.hxx"
46    
47    
48    
49    
50    
51    
52     class DLLPORTGEOMETRIE OCC_COURBE:public MG_COURBE
53     {
54     public:
55     OCC_COURBE(unsigned long num,TopoDS_Edge crb, OCC_FONCTION1& fonc);
56     OCC_COURBE(TopoDS_Edge crb, OCC_FONCTION1& fonc);
57     OCC_COURBE(OCC_COURBE& mdd);
58     virtual ~OCC_COURBE();
59     virtual void evaluer(double t, double *xyz);
60     virtual void deriver(double t, double *xyz );
61     virtual void deriver_seconde(double t,double *ddxyz,double *dxyz,double *xyz);
62     virtual void inverser(double& t,double *xyz,double precision=1e-6);
63     virtual int est_periodique(void);
64     virtual double get_periode(void);
65     virtual double get_longueur(double t1,double t2,double precis=1e-6);
66     virtual void enregistrer(std::ostream& o);
67    
68     virtual int get_type_geometrique(TPL_LISTE_ENTITE<double> &param);
69     virtual void get_param_NURBS(int& indx_premier_ptctr,TPL_LISTE_ENTITE<double> &param);
70    
71     private:
72     TopoDS_Edge edge;
73     class OCC_FONCTION1& fonction1;
74    
75    
76     };
77    
78    
79     #endif
80     #endif