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;
double getResolution() const
Returns the resolution of the grid map.
double getXMin() const
Returns the "x" coordinate of left side of grid map.
double getYMin() const
Returns the "y" coordinate of top side of grid map.
double getXMax() const
Returns the "x" coordinate of right side of grid map.
double getYMax() const
Returns the "y" coordinate of bottom side of grid map.
A look-up-table (LUT) of atan values for any (x,y) value in a square/rectangular grid of predefined r...
mrpt::containers::CDynamicGrid< double > m_grid
bool atan2(double y, double x, double &out_atan2) const noexcept
Returns the precomputed value for atan2(y,x).
CAtan2LookUpTable() noexcept
double getResolution() const
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...
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.
bool atan2(double y, double x, double &out_atan2) const noexcept
Returns the precomputed value for atan2(y,x).
CAtan2LookUpTableMultiRes() noexcept
void resize(const std::map< double, double > &lst_resolutions2extensions) noexcept
See CAtan2LookUpTableMultiRes for a discussion of the parameters.
This base provides a set of functions for maths stuff.