Templatized class that represents a two dimensional bounds with ranges [min_x, max_x] [min_y, max_y] inclusive.
More...
|
| GenericBounds () |
| Constructor for an empty bounds. More...
|
|
| GenericBounds (NumericType x0, NumericType y0, NumericType x1, NumericType y1) |
| Constructor for a non-empty initial bounds. More...
|
|
NumericType | getMaxX () const |
|
NumericType | getMaxY () const |
|
NumericType | getMinX () const |
|
NumericType | getMinY () const |
|
bool | isEmpty () const |
| Returns true if the range is empty. More...
|
|
void | merge (const GenericBounds< NumericType > &other) |
| Update the bounds to include the entirety of another bounds object. More...
|
|
void | reset () |
| Reset the bounds to be empty. More...
|
|
std::string | toString () const |
| Returns a string representation of the bounds. More...
|
|
void | touch (NumericType x, NumericType y) |
| Update the bounds to include the point (x, y) More...
|
|
void | update (NumericType x0, NumericType y0, NumericType x1, NumericType y1) |
| Update the bounds to include points (x0, y0) and (x1, y1) More...
|
|
template<typename NumericType>
class nav_core2::GenericBounds< NumericType >
Templatized class that represents a two dimensional bounds with ranges [min_x, max_x] [min_y, max_y] inclusive.
Definition at line 49 of file bounds.h.