#ifndef RECTANGLE_H #define RECTANGLE_H #include typedef class Rectangle{ public: Rectangle(int x1, int y1, int x2, int y2); bool contains(std::pair p); std::pair getUprl(); std::pair getLowr(); void setUprl(int x, int y); void setLowr(int x, int y); private: std::pair uprl; std::pair lowr; }; #endif