Returns true if the requested point is contained within this BBox.
| 88 | |
| 89 | // Returns true if the requested point is contained within this BBox. |
| 90 | bool contains(const Point& p) const |
| 91 | { |
| 92 | return p.x >= minimum.x && p.y >= minimum.y && |
| 93 | p.x < maximum.x && p.y < maximum.y; |
| 94 | } |
| 95 | |
| 96 | const Point minimum; |
| 97 | const Point maximum; |