#include <MAUtil/Geometry.h>
Public Member Functions | |
Rect () | |
Rect (int x, int y, int width, int height) | |
bool | contains (const Point &p) const |
bool | contains (int x, int y) const |
bool | overlaps (const Rect &r) const |
void | setPosition (int x, int y) |
virtual void | set (int x, int y, int w, int h) |
Public Attributes | |
int | x |
int | y |
int | width |
int | height |
|
|
|
|
|
|
|
|
|
Returns true iff this and r share any surface point. |
|
|
|
|
|
|
|
|
|
|
|
|