ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/carte/src/ct_point.h
Revision: 5
Committed: Tue Jun 12 20:26:34 2007 UTC (17 years, 11 months ago)
Content type: text/plain
Original Path: magic/lib/carte/carte/src/ct_point.h
File size: 1725 byte(s)
Log Message:

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     CT_POINT(double x,double y,double z,DOUBLEN<N> en,BOITE_3D boitetmp); //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    
43     private:
44     double point[3]; //vecteur de 3 coordonnees de type double
45     DOUBLEN<N> ecart;
46     unsigned long id;
47     static unsigned long idmax;
48     class BOITE_3D boite;
49     };
50    
51    
52    
53    
54    
55    
56    
57    
58    
59     #endif