30 double xmin,
double xmax,
double ymin,
double ymax,
31 double resolution) noexcept;
33 double xmin,
double xmax,
double ymin,
double ymax,
34 double resolution) noexcept;
38 bool atan2(
double y,
double x,
double& out_atan2)
const noexcept;
70 const std::map<double, double>& lst_resolutions2extensions) noexcept;
73 const std::map<double, double>& lst_resolutions2extensions) noexcept;
77 bool atan2(
double y,
double x,
double& out_atan2)
const noexcept;
82 std::map<double, mrpt::utils::CDynamicGrid<double>>
m_grids;
A look-up-table (LUT) of atan values for any (x,y) value in a square/rectangular grid of predefined r...
bool atan2(double y, double x, double &out_atan2) const noexcept
Returns the precomputed value for atan2(y,x).
CAtan2LookUpTable() noexcept
double getResolution() const
mrpt::utils::CDynamicGrid< double > m_grid
void resize(double xmin, double xmax, double ymin, double ymax, double resolution) noexcept
Like CAtan2LookUpTable but with a multiresolution grid for increasingly better accuracy in points nea...
bool atan2(double y, double x, double &out_atan2) const noexcept
Returns the precomputed value for atan2(y,x).
std::map< double, mrpt::utils::CDynamicGrid< double > > m_grids
Maps from maximum (X,Y) coordinates to LUT for [-L,L]x[-L,L] square area.
CAtan2LookUpTableMultiRes() noexcept
void resize(const std::map< double, double > &lst_resolutions2extensions) noexcept
See CAtan2LookUpTableMultiRes for a discussion of the parameters.
double getResolution() const
Returns the resolution of the grid map.
double getYMin() const
Returns the "y" coordinate of top side of grid map.
double getXMin() const
Returns the "x" coordinate of left side of grid map.
double getYMax() const
Returns the "y" coordinate of bottom side of grid map.
double getXMax() const
Returns the "x" coordinate of right side of grid map.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.