00001 #ifndef __RPoint__
00002 #define __RPoint__
00003 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
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