Definition at line 9 of file box.hpp.
◆ Intersection()
- Returns
- the biggest Box contained in both |a| and |b|.
Definition at line 12 of file box.cpp.
◆ Union()
- Returns
- the smallest Box containing both |a| and |b|.
Definition at line 24 of file box.cpp.
◆ Contain()
bool Contain |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
- Returns
- whether (x,y) is contained inside the box.
Definition at line 35 of file box.cpp.
◆ IsEmpty()
- Returns
- whether the box is empty.
Definition at line 44 of file box.cpp.
◆ operator==()
bool operator== |
( |
const Box & |
other | ) |
const |
- Returns
- whether |other| is the same as |this|
Definition at line 50 of file box.cpp.
◆ operator!=()
bool operator!= |
( |
const Box & |
other | ) |
const |
- Returns
- whether |other| and |this| are different.
Definition at line 57 of file box.cpp.
◆ x_min
◆ x_max
◆ y_min
◆ y_max
The documentation for this struct was generated from the following files: