ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/outil/src/ot_boite_2d.h
Revision: 5
Committed: Tue Jun 12 20:26:34 2007 UTC (18 years, 1 month ago)
Content type: text/plain
Original Path: magic/lib/outil/outil/src/ot_boite_2D.h
File size: 1786 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     // ot_boite_2D.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 à 11H23
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23     #ifndef __BOITE2D_
24     #define __BOITE2D_
25    
26     #ifdef WINDOWS_VERSION
27     #ifdef BUILT_DLL_OUTIL
28     #define DLLPORTOUTIL __declspec(dllexport)
29     #else
30     #define DLLPORTOUTIL __declspec(dllimport)
31     #endif
32     #else
33     #define DLLPORTOUTIL
34     #endif
35    
36    
37     class DLLPORTOUTIL BOITE_2D
38     {
39     public :
40     BOITE_2D(double xmin,double ymin,double xmax,double ymax);
41     BOITE_2D(BOITE_2D& mdd);
42     BOITE_2D(const BOITE_2D& mdd);
43     virtual ~BOITE_2D();
44    
45     double get_xmin(void);
46     double get_xmax(void);
47     double get_ymin(void);
48     double get_ymax(void);
49     BOITE_2D& operator=(BOITE_2D& boite);
50     int operator*(BOITE_2D& boite);
51    
52     double get_rayon(void);
53     void get_centre(double *coo);
54    
55     private :
56     double x;
57     double y;
58     double dx;
59     double dy;
60     };
61    
62    
63    
64    
65    
66    
67     #endif