#include <bounds.h>
|
unsigned int | getHeight () const |
|
unsigned int | getWidth () const |
|
bool | contains (unsigned intx, unsigned inty) const |
| Returns true if the point is inside this range. More...
|
|
| GenericBounds () |
| Constructor for an empty bounds. More...
|
|
| GenericBounds (unsigned intx0, unsigned inty0, unsigned intx1, unsigned inty1) |
| Constructor for a non-empty initial bounds. More...
|
|
unsigned int | getMaxX () const |
|
unsigned int | getMaxY () const |
|
unsigned int | getMinX () const |
|
unsigned int | getMinY () const |
|
bool | isEmpty () const |
| Returns true if the range is empty. More...
|
|
void | merge (const GenericBounds< unsigned int > &other) |
| Update the bounds to include the entirety of another bounds object. More...
|
|
bool | operator!= (const GenericBounds< unsigned int > &other) const |
|
bool | operator== (const GenericBounds< unsigned int > &other) const |
| comparison operator that requires all fields are equal More...
|
|
bool | overlaps (const GenericBounds< unsigned int > &other) const |
| returns true if the two bounds overlap each other More...
|
|
void | reset () |
| Reset the bounds to be empty. More...
|
|
std::string | toString () const |
| Returns a string representation of the bounds. More...
|
|
void | touch (unsigned intx, unsigned inty) |
| Update the bounds to include the point (x, y) More...
|
|
void | update (unsigned intx0, unsigned inty0, unsigned intx1, unsigned inty1) |
| Update the bounds to include points (x0, y0) and (x1, y1) More...
|
|
Definition at line 199 of file bounds.h.
unsigned int nav_core2::UIntBounds::getHeight |
( |
| ) |
const |
|
inline |
unsigned int nav_core2::UIntBounds::getWidth |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: