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

Angle representation as a sine function. More...

#include <ETL/angle>

Inheritance diagram for angle::sin:
angle

Public Member Functions

 sin (const value_type &x)
 sin (const angle &a)
sin mod () const
 Rotation Modulus.
sin 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 as a sine function.

See Also
angle
Todo:
This needs to be documented

Definition at line 421 of file _angle.h.

Constructor & Destructor Documentation

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

Definition at line 424 of file _angle.h.

References angle::v.

Referenced by get().

angle::sin::sin ( const angle a)
inline

Definition at line 425 of file _angle.h.

Member Function Documentation

sin angle::sin::mod ( ) const
inline

Rotation Modulus.

This function will return the value of the angle

Reimplemented from angle.

Definition at line 426 of file _angle.h.

sin angle::sin::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 427 of file _angle.h.

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

Definition at line 428 of file _angle.h.

References sin(), and angle::v.


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