13 namespace visualization {
40 return (
x >= this->x &&
x <=
GetRight() &&
y >= this->y &&
51 return Rect(newX, newY, w, h);
55 return (this->
x == other.
x && this->y == other.
y &&
56 this->width == other.
width && this->height == other.
height);
Generic file read and write utility for python interface.
Rect UnionedWith(const Rect &r) const
bool operator!=(const Rect &other) const
bool Contains(int x, int y) const
bool operator==(const Rect &other) const