7 #define RECTANGLE_HPP 1 37 #endif // RECTANGLE_HPP RightRectangle(const Vector2D &lower_left, const Vector2D &upper_right)
Class constructor.
A rectangle aligned with the primary axis (x and y)
Abstract type for a two dimensional shape.
bool operator()(const Vector2D &point) const
Returns true is a point is inside the shape, false otherwise.