20 #ifndef MIR_GEOMETRY_RECTANGLE_H_
21 #define MIR_GEOMETRY_RECTANGLE_H_
68 std::ostream&
operator<<(std::ostream& out, Rectangle
const& value);
Point bottom_right() const
The bottom right boundary point of the rectangle.
Definition: rectangle.cpp:25
bool overlaps(Rectangle const &r) const
Definition: rectangle.cpp:51
Point top_left
Definition: rectangle.h:35
Size size
Definition: rectangle.h:36
bool contains(Point const &p) const
Definition: rectangle.cpp:41
bool operator!=(Displacement const &lhs, Displacement const &rhs)
Definition: displacement.h:55
bool operator==(Displacement const &lhs, Displacement const &rhs)
Definition: displacement.h:50
std::ostream & operator<<(std::ostream &out, Displacement const &value)
Definition: ostream.cpp:29
Definition: rectangle.h:33