#ifndef RECTANGLE_H #define RECTANGLE_H class Rectangle { public: Rectangle(); Rectangle(int xPositionArg, int yPositionArg, int heightArg, int widthArg); ~Rectangle(); int getHeight(); void setHeight(int heightArg); int getWidth(); void setWidth(int widthArg); int getXPosition(); void setXPosition(int xPositionArg); int getYPosition(); void setYPosition(int yPositionArg); int getArea(); int getPerimeter(); bool overlaps(const Rectangle & r); private: int xPosition, yPosition, height, width; bool pointInside(int xArg, int yArg); }; #endif