ETL  0.04.19
Public Member Functions | List of all members
angle::deg Class Reference

Angle representation in degrees. More...

#include <ETL/angle>

Inheritance diagram for angle::deg:
angle

Public Member Functions

 deg (const value_type &x)
 deg (const angle &a)
deg mod () const
 Rotation Modulus.
deg dist (const angle &rhs) const
 Angle Difference Function.
value_type get () const
- Public Member Functions inherited from angle
const angleoperator+= (const angle &rhs)
 Stored in radians; positive values indicate counter-clockwise.
const angleoperator-= (const angle &rhs)
const angleoperator*= (const unit &rhs)
const angleoperator/= (const unit &rhs)
angle operator+ (const angle &rhs) const
 Angle Addition Operator.
angle operator- (const angle &rhs) const
 Angle Subtraction Operator.
angle operator* (const unit &rhs) const
 Angle Scalar Multiplication Operator.
angle operator/ (const unit &rhs) const
angle operator- () const
 Angle Negation.
bool operator< (const angle &rhs) const
bool operator> (const angle &rhs) const
bool operator<= (const angle &rhs) const
bool operator>= (const angle &rhs) const
bool operator== (const angle &rhs) const
bool operator!= (const angle &rhs) const
angle abs () const
 Absolute Angle Function.
bool operator! () const

Additional Inherited Members

- Public Types inherited from angle
typedef float value_type
- Static Public Member Functions inherited from angle
static angle zero ()
 Zero Rotation (0 degrees)
static angle one ()
 One Complete Rotation (360 degrees)
static angle half ()
 One Half Rotation (180 degrees)
- Protected Types inherited from angle
typedef value_type unit
- Protected Attributes inherited from angle
unit v

Detailed Description

Angle representation in degrees.

See Also
angle
Todo:
This needs to be documented

Definition at line 381 of file _angle.h.

Constructor & Destructor Documentation

angle::deg::deg ( const value_type x)
inlineexplicit

Definition at line 384 of file _angle.h.

References angle::v.

angle::deg::deg ( const angle a)
inline

Definition at line 385 of file _angle.h.

Member Function Documentation

deg angle::deg::mod ( ) const
inline

Rotation Modulus.

This function will return the value of the angle

Reimplemented from angle.

Definition at line 386 of file _angle.h.

deg angle::deg::dist ( const angle rhs) const
inline

Angle Difference Function.

This function will return the difference between two angles, just like

See Also
angle operator-(const angle &)

Reimplemented from angle.

Definition at line 387 of file _angle.h.

value_type angle::deg::get ( ) const
inline

Definition at line 388 of file _angle.h.

References angle::v.


The documentation for this class was generated from the following file: