#ifndef Path_h_ #define Path_h_ //. A Vertex is a 2D point. struct Vertex { Vertex(double xx, double yy): x(xx), y(yy) {} double x; //.< the x coordinate double y; //.< the y coordinate }; //. Path is the basic abstraction //. used for drawing (curved) paths. class Path { public: virtual ~Path() {} //. Draw this path. virtual void draw() = 0; // temporarily commented out... // bool intersects(const Path &); private: }; #endif