MRPT
1.9.9
|
A look-up-table (LUT) of atan values for any (x,y) value in a square/rectangular grid of predefined resolution.
Definition at line 23 of file CAtan2LookUpTable.h.
#include <mrpt/math/CAtan2LookUpTable.h>
Public Member 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 |
bool | atan2 (double y, double x, double &out_atan2) const noexcept |
Returns the precomputed value for atan2(y,x). More... | |
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). More... | |
double | getXMin () const |
double | getXMax () const |
double | getYMin () const |
double | getYMax () const |
double | getResolution () const |
size_t | getSizeX () const |
size_t | getSizeY () const |
Private Attributes | |
mrpt::containers::CDynamicGrid< double > | m_grid |
|
noexcept |
Definition at line 18 of file CAtan2LookUpTable.cpp.
References resize().
|
noexcept |
Definition at line 22 of file CAtan2LookUpTable.cpp.
References resize().
|
inlinenoexcept |
Returns the precomputed value for atan2(y,x).
Definition at line 36 of file CAtan2LookUpTable.h.
References mrpt::containers::CDynamicGrid< T >::cellByPos(), and m_grid.
|
inlinenoexcept |
Returns the precomputed value for atan2() of the corresponding cell with indices (ix,iy).
Definition at line 46 of file CAtan2LookUpTable.h.
References mrpt::containers::CDynamicGrid< T >::cellByIndex(), and m_grid.
|
inline |
Definition at line 59 of file CAtan2LookUpTable.h.
References mrpt::containers::CDynamicGrid< T >::getResolution(), and m_grid.
|
inline |
Definition at line 60 of file CAtan2LookUpTable.h.
References mrpt::containers::CDynamicGrid< T >::getSizeX(), and m_grid.
|
inline |
Definition at line 61 of file CAtan2LookUpTable.h.
References mrpt::containers::CDynamicGrid< T >::getSizeY(), and m_grid.
|
inline |
Definition at line 56 of file CAtan2LookUpTable.h.
References mrpt::containers::CDynamicGrid< T >::getXMax(), and m_grid.
|
inline |
Definition at line 55 of file CAtan2LookUpTable.h.
References mrpt::containers::CDynamicGrid< T >::getXMin(), and m_grid.
|
inline |
Definition at line 58 of file CAtan2LookUpTable.h.
References mrpt::containers::CDynamicGrid< T >::getYMax(), and m_grid.
|
inline |
Definition at line 57 of file CAtan2LookUpTable.h.
References mrpt::containers::CDynamicGrid< T >::getYMin(), and m_grid.
|
noexcept |
Definition at line 29 of file CAtan2LookUpTable.cpp.
Referenced by CAtan2LookUpTable().
|
private |
Definition at line 64 of file CAtan2LookUpTable.h.
Referenced by atan2(), atan2ByIndex(), getResolution(), getSizeX(), getSizeY(), getXMax(), getXMin(), getYMax(), and getYMin().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020 |