Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

RPoint.hpp

00001 #ifndef __RPoint__
00002 #define __RPoint__
00003 
00005 //                              Real Point
00006 //                              ==============================================
00007 //
00008 //              Group:                  Eggs and Pictures.
00009 //              Author:                 Bernard De Cuyper
00010 //              Date:                   10/06/2002
00011 //
00012 //              Purpose:                Position.
00013 //
00014 //              Copyrights:             Bernard De Cuyper & Eddy Fraiha 2002,
00015 //                                              Eggs & Pictures. 
00016 //                                              MIT/Open BSD copyright model.
00017 //
00019 
00020 
00021 
00022 class RPoint
00023 {
00024 public:
00025         
00026 double          x;
00027 double          y;
00028 
00029 public:
00030         
00031 RPoint(double ax, double ay){x= ax; y=ay;}
00032 ~RPoint(){}
00033 
00034 RPoint* copy(){ return new RPoint(x,y); }
00035 
00036 void set(double ax, double ay){x=ax; y= ay; }
00037 void set(RPoint& p){ x= p.x; y= p.y; }
00038 
00039 double getX(){ return x; }
00040 double getY(){ return y; }
00041 };
00042 
00043 
00044 #endif
SourceForge.net Logo
Restoreinpaint sourceforge project `C++/Java Image Processing, Restoration, Inpainting Project'.

Bernard De Cuyper: Open Project Leader: Concept, design and development.
Bernard De Cuyper & Eddy Fraiha 2002, 2003. Bernard De Cuyper 2004. Open and free, for friendly usage only.
Modifications on Belgium ground of this piece of artistic work, by governement institutions or companies, must be notified to Bernard De Cuyper.
bern_bdc@hotmail.com