MRPT
2.0.1
|
Like CAtan2LookUpTable but with a multiresolution grid for increasingly better accuracy in points nearer to the origin.
Example of usage:
Definition at line 82 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 58 of file CAtan2LookUpTable.cpp.
References resize().
|
noexcept |
Returns the precomputed value for atan2(y,x).
Definition at line 96 of file CAtan2LookUpTable.cpp.
References mrpt::containers::CDynamicGrid< T >::cellByPos().
|
noexcept |
See CAtan2LookUpTableMultiRes for a discussion of the parameters.
Definition at line 63 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 100 of file CAtan2LookUpTable.h.
Page generated by Doxygen 1.8.14 for MRPT 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020 |