ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/mtu/src/occ_courbe.h
Revision: 1158
Committed: Thu Jun 13 22:18:49 2024 UTC (12 months ago) by francois
Content type: text/plain
File size: 2355 byte(s)
Log Message:
compatibilité Ubuntu 22.04
Suppression des refeences à Windows
Ajout d'une banière

File Contents

# User Rev Content
1 francois 1158 //####//------------------------------------------------------------
2     //####//------------------------------------------------------------
3     //####// MAGiC
4     //####// Jean Christophe Cuilliere et Vincent FRANCOIS
5     //####// Departement de Genie Mecanique - UQTR
6     //####//------------------------------------------------------------
7     //####// MAGIC est un projet de recherche de l equipe ERICCA
8     //####// du departement de genie mecanique de l Universite du Quebec a Trois Rivieres
9     //####// http://www.uqtr.ca/ericca
10     //####// http://www.uqtr.ca/
11     //####//------------------------------------------------------------
12     //####//------------------------------------------------------------
13     //####//
14     //####// occ_courbe.h
15     //####//
16     //####//------------------------------------------------------------
17     //####//------------------------------------------------------------
18     //####// COPYRIGHT 2000-2024
19     //####// jeu 13 jun 2024 11:58:53 EDT
20     //####//------------------------------------------------------------
21     //####//------------------------------------------------------------
22 francois 283 #ifdef BREP_OCC
23     #ifndef OCC_CourbeH
24     #define OCC_CourbeH
25    
26    
27    
28    
29 francois 1158
30 francois 283 #include "mg_courbe.h"
31     #include "Geom_Curve.hxx"
32 couturad 740 #include "occ_fonction.h"
33 francois 283 #include "TopoDS_Edge.hxx"
34    
35    
36    
37    
38    
39    
40 francois 1158 class OCC_COURBE:public MG_COURBE
41 francois 283 {
42     public:
43 couturad 906 OCC_COURBE(unsigned long num,TopoDS_Edge crb, OCC_FONCTION* fonc);
44     OCC_COURBE(TopoDS_Edge crb, OCC_FONCTION* fonc);
45     OCC_COURBE(TopoDS_Edge crb);
46 francois 283 OCC_COURBE(OCC_COURBE& mdd);
47     virtual ~OCC_COURBE();
48     virtual void evaluer(double t, double *xyz);
49     virtual void deriver(double t, double *xyz );
50     virtual void deriver_seconde(double t,double *ddxyz,double *dxyz,double *xyz);
51     virtual void inverser(double& t,double *xyz,double precision=1e-6);
52 couturad 906 virtual bool est_sur_courbe(double *xyz,double precision=1e-6);
53    
54 francois 283 virtual int est_periodique(void);
55     virtual double get_periode(void);
56     virtual double get_longueur(double t1,double t2,double precis=1e-6);
57 francois 763 virtual void enregistrer(std::ostream& o,double version);
58 francois 283
59     virtual int get_type_geometrique(TPL_LISTE_ENTITE<double> &param);
60     virtual void get_param_NURBS(int& indx_premier_ptctr,TPL_LISTE_ENTITE<double> &param);
61 couturad 906 virtual void change_occ_fonction(OCC_FONCTION* fonction);
62 francois 283
63     private:
64     TopoDS_Edge edge;
65 couturad 906 class OCC_FONCTION* fonction1;
66 francois 283
67    
68     };
69    
70    
71     #endif
72     #endif