00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef POINT_H
00021 #define POINT_H
00022
00023 #define PointList list<Point>
00024 #define PointVector vector<Point>
00025
00033 class Point{
00034 public:
00035 Point();
00036 Point( int id, double x, double y, double z );
00037 Point( double x, double y, double z );
00038 Point( const Point& p ) ;
00039 void operator = ( const Point& p ) ;
00040 bool operator == ( const Point& p ) ;
00041 ~Point();
00042
00043 void setId( int id );
00044 void setX( double x );
00045 void setY( double y );
00046 void setZ( double z );
00047
00048 int getId() const;
00049 double getX() const;
00050 double getY() const;
00051 double getZ() const;
00052
00053 void setProcessed( bool processed );
00054 bool isProcessed() const;
00055
00056 private:
00057 double x ;
00058 double y ;
00059 double z ;
00060 int id ;
00061 bool processed ;
00062 };
00063
00064 #endif