ETL  0.04.19
Classes | Macros
_angle.h File Reference
#include <cstdio>
#include <cmath>
#include <functional>

Go to the source code of this file.

Classes

class  angle
 Abstraction of the concept of an angle. More...
class  angle::rad
 Angle representation in radians. More...
class  angle::deg
 Angle representation in degrees. More...
class  angle::rot
 Angle representation in rotations. More...
class  angle::sin
 Angle representation as a sine function. More...
class  angle::cos
 Angle representation as a cosine function. More...
class  angle::tan
 Angle representation as a tangent function. More...
struct  affine_combo< etl::angle, T >
struct  distance_func< etl::angle >

Macros

#define PI   (3.1415926535897932384626433832795029L)
#define HALF_PI   (PI/2)
#define ANGLE_EPSILON   (1.0e-6)

Macro Definition Documentation

#define PI   (3.1415926535897932384626433832795029L)

Definition at line 40 of file _angle.h.

Referenced by angle::half().

#define HALF_PI   (PI/2)

Definition at line 41 of file _angle.h.

#define ANGLE_EPSILON   (1.0e-6)

Definition at line 44 of file _angle.h.

Referenced by angle::operator!(), angle::operator!=(), and angle::operator==().