Class CAtan2LookUpTable
Defined in File CAtan2LookUpTable.h
Class Documentation
-
class CAtan2LookUpTable
A look-up-table (LUT) of atan values for any (x,y) value in a square/rectangular grid of predefined resolution
See also
mrpt::math::CAtan2LookUpTableMultiRes, mrpt::obs::CSinCosLookUpTableFor2DScans
Public Functions
-
CAtan2LookUpTable() noexcept
-
CAtan2LookUpTable(double xmin, double xmax, double ymin, double ymax, double resolution) noexcept
-
void resize(double xmin, double xmax, double ymin, double ymax, double resolution) noexcept
-
inline bool atan2(double y, double x, double &out_atan2) const noexcept
Returns the precomputed value for atan2(y,x).
- Returns:
false if out of grid bounds.
-
inline bool atan2ByIndex(unsigned int iy, unsigned int ix, double &out_atan2) const noexcept
Returns the precomputed value for atan2() of the corresponding cell with indices (ix,iy).
- Returns:
false if out of grid bounds.
-
inline double getXMin() const
-
inline double getXMax() const
-
inline double getYMin() const
-
inline double getYMax() const
-
inline double getResolution() const
-
inline size_t getSizeX() const
-
inline size_t getSizeY() const
-
CAtan2LookUpTable() noexcept