![]() |
Rosetta
3.7
|
Functions to wrap angles in different ranges. author Kale Kundert (kale.) kund ert@u csf. eduMore...
Namespaces | |
numeric | |
Unit headers. | |
Functions | |
template<typename T > | |
T | numeric::wrap_2pi (T const &angle) |
Wrap the given angle in the range [0, 2 * pi). More... | |
template<typename T > | |
T | numeric::wrap_pi (T const &angle) |
Wrap the given angle in the range [-pi, pi). More... | |
template<typename T > | |
T | numeric::wrap_360 (T const &angle) |
Wrap the given angle in the range [0, 360). More... | |
template<typename T > | |
T | numeric::wrap_180 (T const &angle) |
Wrap the given angle in the range [-180, 180). More... | |
Functions to wrap angles in different ranges. author Kale Kundert (kale.) kund ert@u csf. edu