ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/carte/src/ct_point.h
Revision: 37
Committed: Mon Aug 20 20:37:38 2007 UTC (17 years, 8 months ago) by lacroix
Content type: text/plain
Original Path: magic/lib/carte/carte/src/ct_point.h
File size: 1850 byte(s)
Log Message:
prise en compte de l'estimation avec courbure

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     // ct_point.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 à 11H21
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23    
24     #ifndef ct_noeudH
25     #define ct_noeudH
26    
27    
28     #include "ot_mathematique.h"
29     #include "ot_boite_3D.h"
30    
31     //---------------------------------------------------------------------------
32     template <int N=1>
33     class CT_POINT
34     {
35     public :
36 lacroix 37 CT_POINT(double x,double y,double z,DOUBLEN<N> en,BOITE_3D boitetmp,double courbure=0); //constructeur
37 5 virtual ~CT_POINT(); //destructeur
38     virtual void evaluer(double *xyz);
39     DOUBLEN<N> &get_valeur(void);
40     virtual class BOITE_3D get_boite_3D(void);
41     virtual unsigned long get_id();
42 lacroix 37 double get_fonction_influence(double r);
43     double get_fonction_influence(double r,double crbr);
44 5
45     private:
46     double point[3]; //vecteur de 3 coordonnees de type double
47     DOUBLEN<N> ecart;
48     unsigned long id;
49     static unsigned long idmax;
50     class BOITE_3D boite;
51 lacroix 37 double c;
52 5 };
53    
54    
55    
56    
57    
58    
59    
60    
61    
62     #endif