Classes | Namespaces | Functions
angle.hpp File Reference

C++ interface for angles (degrees/radians). More...

#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"
Include dependency graph for angle.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ecl::Angle< T, Enable >
 Parent template definition for angles. More...
 
class  ecl::Angle< T, enable_if< is_float< T > >::type >
 Interface for angular measurements. More...
 

Namespaces

 ecl
 Embedded control libraries.
 

Functions

template<typename T >
ecl_geometry_PUBLICecl::degrees_to_radians (const T &degrees, typename enable_if< ecl::is_float< T > >::type *dummy=0)
 Converts degrees to radians and returns the result. More...
 
template<typename T >
ecl_geometry_PUBLICecl::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 float & ecl::wrap_angle (float &angle)
 Wrap the angle on -pi,pi (float 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 double & ecl::wrap_angle (double &angle)
 Wrap the angle on -pi,pi (double types). More...
 
ecl_geometry_PUBLIC double ecl::wrap_angle (const double &angle)
 Return the wrapped the angle on -pi,pi (double types). More...
 

Detailed Description

C++ interface for angles (degrees/radians).

Date
February 2010

Definition in file angle.hpp.



ecl_geometry
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:08:37