Public Member Functions | List of all members
nav_core2::UIntBounds Class Reference

#include <bounds.h>

Inheritance diagram for nav_core2::UIntBounds:
Inheritance graph
[legend]

Public Member Functions

unsigned int getHeight () const
 
unsigned int getWidth () const
 
- Public Member Functions inherited from nav_core2::GenericBounds< unsigned int >
 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...
 
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...
 

Additional Inherited Members

- Protected Attributes inherited from nav_core2::GenericBounds< unsigned int >
unsigned int max_x_
 
unsigned int max_y_
 
unsigned int min_x_
 
unsigned int min_y_
 

Detailed Description

Definition at line 149 of file bounds.h.

Member Function Documentation

unsigned int nav_core2::UIntBounds::getHeight ( ) const
inline

Definition at line 154 of file bounds.h.

unsigned int nav_core2::UIntBounds::getWidth ( ) const
inline

Definition at line 153 of file bounds.h.


The documentation for this class was generated from the following file:


nav_core2
Author(s):
autogenerated on Wed Jun 26 2019 20:06:06