|
void | GetClosestGridCoordinate (double const resolution, Point2 const &pt, int &idx, int &idy) |
| Gets the closest point on the grid.
|
|
void | ComputeOffsets (double const resolution, Point2 const &pos, int const submap_size, int const map_size, MapBounds &index, MapBounds &offset) |
|
template<typename T = MapType> |
void | GetSubMap (double const resolution, Point2 const &pos, int const map_size, T const &map, int const submap_size, T &submap) |
|
template<typename T = MapType> |
auto | GetSubMap (double const resolution, Point2 const &pos, int const map_size, T const &map, int const submap_size) |
|
int | WriteMap (MapType const &map, std::string const &file_name) |
| Write the world map to a file.
|
|
int | WriteMapSparse (MapType const &map, std::string const &file_name) |
| Write the world map to a file.
|
|
int | IsPointOutsideBoundary (double const resolution, Point2 const &pos, int const sensor_size, int const boundary) |
|
Namespace for map utilities functions.