ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/carte/src/ct_point.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: 1872 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     // 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     CT_POINT(double x,double y,double z,DOUBLEN<N> en,BOITE_3D boitetmp,double courbure=0); //constructeur
37     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     double get_fonction_influence(double r);
43     double get_fonction_influence(double r,double crbr);
44    
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     double c;
52     };
53    
54    
55    
56    
57    
58    
59    
60    
61    
62     #endif