#ifndef POLYGON_H #define POLYGON_H #include #include "refptr.h" #include "Vector.h" class Polygon : public std::vector< refptr > { public: Polygon & add(const Vector & v); Polygon & add(refptr v); bool containsPoint2D(const Vector & v); bool containsPointConvex(const Vector & v); }; #endif