Like CAtan2LookUpTable but with a multiresolution grid for increasingly better accuracy in points nearer to the origin.
Example of usage:
Definition at line 57 of file CAtan2LookUpTable.h.
#include <mrpt/math/CAtan2LookUpTable.h>
Public Member Functions | |
CAtan2LookUpTableMultiRes () MRPT_NO_THROWS | |
CAtan2LookUpTableMultiRes (const std::map< double, double > &lst_resolutions2extensions) MRPT_NO_THROWS | |
See CAtan2LookUpTableMultiRes for a discussion of the parameters. More... | |
void | resize (const std::map< double, double > &lst_resolutions2extensions) MRPT_NO_THROWS |
See CAtan2LookUpTableMultiRes for a discussion of the parameters. More... | |
bool | atan2 (double y, double x, double &out_atan2) const MRPT_NO_THROWS |
Returns the precomputed value for atan2(y,x). More... | |
Private Attributes | |
std::map< double, mrpt::utils::CDynamicGrid< double > > | m_grids |
Maps from maximum (X,Y) coordinates to LUT for [-L,L]x[-L,L] square area. More... | |
mrpt::math::CAtan2LookUpTableMultiRes::CAtan2LookUpTableMultiRes | ( | ) |
mrpt::math::CAtan2LookUpTableMultiRes::CAtan2LookUpTableMultiRes | ( | const std::map< double, double > & | lst_resolutions2extensions | ) |
See CAtan2LookUpTableMultiRes for a discussion of the parameters.
bool mrpt::math::CAtan2LookUpTableMultiRes::atan2 | ( | double | y, |
double | x, | ||
double & | out_atan2 | ||
) | const |
Returns the precomputed value for atan2(y,x).
void mrpt::math::CAtan2LookUpTableMultiRes::resize | ( | const std::map< double, double > & | lst_resolutions2extensions | ) |
See CAtan2LookUpTableMultiRes for a discussion of the parameters.
|
private |
Maps from maximum (X,Y) coordinates to LUT for [-L,L]x[-L,L] square area.
Definition at line 67 of file CAtan2LookUpTable.h.
Page generated by Doxygen 1.8.13 for MRPT 1.5.3 at Sun Nov 26 00:44:48 UTC 2017 |