Namespaces | Functions
coordinate_conversion.h File Reference
#include <nav_grid/nav_grid_info.h>
#include <math.h>
Include dependency graph for coordinate_conversion.h:
This graph shows which files directly or indirectly include this file:

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.


nav_grid
Author(s):
autogenerated on Wed Jun 26 2019 20:09:30