Go to the source code of this file.
Namespaces | |
namespace | nav_grid |
Functions | |
void | nav_grid::gridToWorld (const NavGridInfo &info, int mx, int my, double &wx, double &wy) |
Convert from grid coordinates to world coordinates of the center of the cell. | |
bool | nav_grid::isWithinGrid (const NavGridInfo &info, double wx, double wy) |
Check to see if the world coordinates are within the grid. | |
void | nav_grid::worldToGrid (const NavGridInfo &info, double wx, double wy, double &mx, double &my) |
Convert from world coordinates to the precise (double) grid coordinates. | |
void | nav_grid::worldToGrid (const NavGridInfo &info, double wx, double wy, int &mx, int &my) |
Convert from world coordinates to grid coordinates without checking for legal bounds. | |
bool | nav_grid::worldToGridBounded (const NavGridInfo &info, double wx, double wy, unsigned int &mx, unsigned int &my) |
Convert from world coordinates to grid coordinates. |