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

Angle representation in radians. More...

#include <ETL/angle>

Inheritance diagram for angle::rad:
angle

Public Member Functions

 rad (const value_type &x)
 rad (const angle &a)
rad mod () const
 Rotation Modulus.
rad 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 radians.

See Also
angle
Todo:
This needs to be documented

Definition at line 361 of file _angle.h.

Constructor & Destructor Documentation

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

Definition at line 364 of file _angle.h.

References angle::v.

angle::rad::rad ( const angle a)
inline

Definition at line 365 of file _angle.h.

Member Function Documentation

rad angle::rad::mod ( ) const
inline

Rotation Modulus.

This function will return the value of the angle

Reimplemented from angle.

Definition at line 366 of file _angle.h.

rad angle::rad::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 367 of file _angle.h.

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

Definition at line 368 of file _angle.h.

References angle::v.


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