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

 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. More...
 
bool nav_grid::isWithinGrid (const NavGridInfo &info, double wx, double wy)
 Check to see if the world coordinates are within the grid. More...
 
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. More...
 
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. More...
 
bool nav_grid::worldToGridBounded (const NavGridInfo &info, double wx, double wy, unsigned int &mx, unsigned int &my)
 Convert from world coordinates to grid coordinates. More...
 


nav_grid
Author(s):
autogenerated on Mon Feb 28 2022 23:32:36