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

Angle representation as a tangent function. More...

#include <ETL/angle>

Inheritance diagram for angle::tan:
angle

Public Member Functions

 tan (const value_type &x)
 tan (const value_type &y, const value_type &x)
 tan (const angle &a)
tan mod () const
 Rotation Modulus.
tan 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 tangent function.

See Also
angle
Todo:
This needs to be documented

Definition at line 461 of file _angle.h.

Constructor & Destructor Documentation

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

Definition at line 464 of file _angle.h.

References angle::v.

Referenced by get().

angle::tan::tan ( const value_type y,
const value_type x 
)
inline

Definition at line 465 of file _angle.h.

References angle::v.

angle::tan::tan ( const angle a)
inline

Definition at line 466 of file _angle.h.

Member Function Documentation

tan angle::tan::mod ( ) const
inline

Rotation Modulus.

This function will return the value of the angle

Reimplemented from angle.

Definition at line 467 of file _angle.h.

tan angle::tan::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 468 of file _angle.h.

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

Definition at line 469 of file _angle.h.

References tan(), and angle::v.


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