00001
00002
00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019
00020
00021 #ifndef IGPOINT_H
00022 #define IGPOINT_H
00023
00024 #include <LEDA/d3_point.h>
00025
00026 #include "IGColor.h"
00027
00028 class IGPoint : public d3_point {
00029 private:
00031 IGColor col;
00032 public:
00033 IGPoint();
00034 IGPoint(double x, double y, double z, double gray=0.0);
00035 IGPoint(double x, double y, double z, double red, double green, double blue);
00036 IGPoint(const IGPoint& P);
00037 ~IGPoint();
00038 IGPoint& operator=(const IGPoint& P);
00040 void Draw(void) const;
00043 friend istream& operator>>(istream& in, IGPoint& P);
00046 friend ostream& operator<<(ostream& out, const IGPoint& P);
00047 };
00048
00049 #endif