#include <nav_2d_utils/bounds.h>
#include <nav_grid/coordinate_conversion.h>
#include <algorithm>
#include <stdexcept>
#include <vector>
Go to the source code of this file.
Namespaces | |
nav_2d_utils | |
A set of utility functions for Bounds objects interacting with other messages/types. | |
Functions | |
std::vector< nav_core2::UIntBounds > | nav_2d_utils::divideBounds (const nav_core2::UIntBounds &original_bounds, unsigned int n_cols, unsigned int n_rows) |
divide the given bounds up into sub-bounds of roughly equal size More... | |
nav_core2::Bounds | nav_2d_utils::getFullBounds (const nav_grid::NavGridInfo &info) |
return a floating point bounds that covers the entire NavGrid More... | |
nav_core2::UIntBounds | nav_2d_utils::getFullUIntBounds (const nav_grid::NavGridInfo &info) |
return an integral bounds that covers the entire NavGrid More... | |
nav_core2::UIntBounds | nav_2d_utils::translateBounds (const nav_grid::NavGridInfo &info, const nav_core2::Bounds &bounds) |
Translate real-valued bounds to uint coordinates based on nav_grid info. More... | |
nav_core2::Bounds | nav_2d_utils::translateBounds (const nav_grid::NavGridInfo &info, const nav_core2::UIntBounds &bounds) |
Translate uint bounds to real-valued coordinates based on nav_grid info. More... | |