28 double xmin,
double xmax,
double ymin,
double ymax,
29 double resolution) noexcept;
31 double xmin,
double xmax,
double ymin,
double ymax,
32 double resolution) noexcept;
36 bool atan2(
double y,
double x,
double& out_atan2)
const noexcept;
68 const std::map<double, double>& lst_resolutions2extensions) noexcept;
71 const std::map<double, double>& lst_resolutions2extensions) noexcept;
75 bool atan2(
double y,
double x,
double& out_atan2)
const noexcept;
80 std::map<double, mrpt::containers::CDynamicGrid<double>>
m_grids;
CAtan2LookUpTableMultiRes() noexcept
double getYMax() const
Returns the "y" coordinate of bottom side of grid map.
mrpt::containers::CDynamicGrid< double > m_grid
double getResolution() const
double getResolution() const
Returns the resolution of the grid map.
double getYMin() const
Returns the "y" coordinate of top side of grid map.
void resize(const std::map< double, double > &lst_resolutions2extensions) noexcept
See CAtan2LookUpTableMultiRes for a discussion of the parameters.
A look-up-table (LUT) of atan values for any (x,y) value in a square/rectangular grid of predefined r...
CAtan2LookUpTable() noexcept
This base provides a set of functions for maths stuff.
double getXMin() const
Returns the "x" coordinate of left side of grid map.
std::map< double, mrpt::containers::CDynamicGrid< double > > m_grids
Maps from maximum (X,Y) coordinates to LUT for [-L,L]x[-L,L] square area.
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).
bool atan2(double y, double x, double &out_atan2) const noexcept
Returns the precomputed value for atan2(y,x).
void resize(double xmin, double xmax, double ymin, double ymax, double resolution) noexcept
double getXMax() const
Returns the "x" coordinate of right side of grid map.