#include <cmath>
#include <ecl/config/macros.hpp>
#include <ecl/linear_algebra.hpp>
#include <ecl/type_traits/fundamental_types.hpp>
#include <ecl/mpl/enable_if.hpp>
#include <ecl/math/constants.hpp>
#include "macros.hpp"
Go to the source code of this file.
Classes | |
class | ecl::Angle< T, Enable > |
Parent template definition for angles. | |
class | ecl::Angle< T, enable_if< is_float< T > >::type > |
Interface for angular measurements. | |
Namespaces | |
ecl | |
Functions | |
ecl_geometry_PUBLIC T | ecl::degrees_to_radians (const T °rees, typename enable_if< ecl::is_float< T > >::type *dummy=0) |
Converts degrees to radians and returns the result. More... | |
ecl_geometry_PUBLIC T | ecl::radians_to_degrees (const T &radians, typename enable_if< ecl::is_float< T > >::type *dummy=0) |
Converts radians to degrees and returns the result. More... | |
ecl_geometry_PUBLIC const double & | ecl::wrap_angle (double &angle) |
Wrap the angle on -pi,pi (double types). More... | |
ecl_geometry_PUBLIC float | ecl::wrap_angle (const float &angle) |
Return the wrapped the angle on -pi,pi (float types). More... | |
ecl_geometry_PUBLIC const float & | ecl::wrap_angle (float &angle) |
Wrap the angle on -pi,pi (float types). More... | |
ecl_geometry_PUBLIC double | ecl::wrap_angle (const double &angle) |
Return the wrapped the angle on -pi,pi (double types). More... | |