20 #ifndef MIR_GEOMETRY_RECTANGLE_H_ 21 #define MIR_GEOMETRY_RECTANGLE_H_
Point bottom_right() const
The bottom right boundary point of the rectangle.
Definition: rectangle.cpp:26
All things Mir.
Definition: atomic_callback.h:25
bool overlaps(Rectangle const &r) const
Definition: rectangle.cpp:61
constexpr Rectangle()=default
Point top_left
Definition: rectangle.h:42
Size size
Definition: rectangle.h:43
bool contains(Point const &p) const
Definition: rectangle.cpp:51
Rectangle intersection_with(Rectangle const &r) const
Definition: rectangle.cpp:80
Point top_right() const
Definition: rectangle.cpp:31
std::ostream & operator<<(std::ostream &out, Displacement const &value)
Definition: ostream.cpp:28
constexpr Rectangle(Point const &top_left, Size const &size)
Definition: rectangle.h:37
Definition: rectangle.h:33
constexpr bool operator==(Displacement const &lhs, Displacement const &rhs)
Definition: displacement.h:51
Point bottom_left() const
Definition: rectangle.cpp:36
constexpr bool operator!=(Displacement const &lhs, Displacement const &rhs)
Definition: displacement.h:56