MRPT
1.9.9
|
Like CAtan2LookUpTable but with a multiresolution grid for increasingly better accuracy in points nearer to the origin.
Example of usage:
Definition at line 63 of file CAtan2LookUpTable.h.
#include <mrpt/math/CAtan2LookUpTable.h>
Public Member Functions | |
CAtan2LookUpTableMultiRes ()=default | |
CAtan2LookUpTableMultiRes (const std::map< double, double > &lst_resolutions2extensions) noexcept | |
See CAtan2LookUpTableMultiRes for a discussion of the parameters. More... | |
void | resize (const std::map< double, double > &lst_resolutions2extensions) noexcept |
See CAtan2LookUpTableMultiRes for a discussion of the parameters. More... | |
bool | atan2 (double y, double x, double &out_atan2) const noexcept |
Returns the precomputed value for atan2(y,x). More... | |
Private Attributes | |
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. More... | |
|
default |
|
noexcept |
See CAtan2LookUpTableMultiRes for a discussion of the parameters.
Definition at line 67 of file CAtan2LookUpTable.cpp.
|
noexcept |
Returns the precomputed value for atan2(y,x).
Definition at line 105 of file CAtan2LookUpTable.cpp.
References mrpt::containers::CDynamicGrid< T >::cellByPos().
|
noexcept |
See CAtan2LookUpTableMultiRes for a discussion of the parameters.
Definition at line 72 of file CAtan2LookUpTable.cpp.
References mrpt::containers::CDynamicGrid< T >::cellByIndex(), mrpt::containers::CDynamicGrid< T >::getSizeX(), mrpt::containers::CDynamicGrid< T >::getSizeY(), mrpt::containers::CDynamicGrid< T >::idx2x(), and mrpt::containers::CDynamicGrid< T >::idx2y().
Referenced by TEST().
|
private |
Maps from maximum (X,Y) coordinates to LUT for [-L,L]x[-L,L] square area.
Definition at line 81 of file CAtan2LookUpTable.h.
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019 |