Mir
|
#include <rectangle.h>
Public Member Functions | |
Rectangle | intersection_with (Rectangle const &r) const |
![]() | |
constexpr | Rectangle ()=default |
constexpr | Rectangle (Point const &top_left, Size const &size) |
Point | bottom_right () const |
The bottom right boundary point of the rectangle. More... | |
Point | top_right () const |
Point | bottom_left () const |
bool | contains (Point const &p) const |
bool | contains (Rectangle< Point, Size > const &r) const |
Test if the rectangle contains another. More... | |
bool | overlaps (Rectangle< Point, Size > const &r) const |
Corresponding< Point, XTag > | left () const |
Corresponding< Point, XTag > | right () const |
Corresponding< Point, YTag > | top () const |
Corresponding< Point, YTag > | bottom () const |
Additional Inherited Members | |
![]() | |
Point | top_left |
Size | size |
Copyright © 2012-2022
Canonical Ltd.
Generated on śro, 1 cze 2022, 16:52:55 UTC
This documentation is licensed under the GPL version 2 or 3.