00001 //LabPlot : Point.h 00002 00003 #ifndef POINT_H 00004 #define POINT_H 00005 00006 class Point 00007 { 00008 public: 00009 Point(double a=0, double b=0); 00010 void setPoint(double, double); 00011 double X() { return x; } 00012 double Y() { return y; } 00013 protected: 00014 double x,y; 00015 }; 00016 00017 #endif //POINT_H