fastangle::cos Class Reference

fastangle representation as a cosine function More...

#include <_fastangle.h>

Inheritance diagram for fastangle::cos:

fastangle List of all members.

Public Member Functions

 cos (const value_type &x)
 cos (const fastangle &a)
cos mod () const
 Rotation Modulus.
cos dist (const fastangle &rhs) const
 fastangle Difference Function
 operator value_type () const
value_type get () const

Detailed Description

fastangle representation as a cosine function

========================================================================

A more detailed description needs to be written.

Definition at line 359 of file _fastangle.h.


Constructor & Destructor Documentation

fastangle::cos::cos ( const value_type x  )  [inline]

Definition at line 362 of file _fastangle.h.

References _fastangle_asin_table, fixed_base< T, FIXED_BITS >::data(), ETL_FASTANGLE_LOOKUP_RES, and fastangle::v.

fastangle::cos::cos ( const fastangle a  )  [inline]

Definition at line 363 of file _fastangle.h.


Member Function Documentation

cos fastangle::cos::mod (  )  const [inline]

Rotation Modulus.

This function will return the value of the fastangle between 0 and 2PI

Reimplemented from fastangle.

Definition at line 364 of file _fastangle.h.

References fastangle::mod().

cos fastangle::cos::dist ( const fastangle rhs  )  const [inline]

fastangle Difference Function

This function will return the shortest physical distance between two angles, from -PI/2 to PI/2

Warning:
Not yet tested
See also:
fastangle operator-(const fastangle &)

Reimplemented from fastangle.

Definition at line 365 of file _fastangle.h.

References fastangle::dist().

fastangle::cos::operator value_type (  )  const [inline]

Definition at line 366 of file _fastangle.h.

value_type fastangle::cos::get (  )  const [inline]

Definition at line 367 of file _fastangle.h.

References _fastangle_sin_table, fixed_base< T, FIXED_BITS >::data(), ETL_FASTANGLE_LOOKUP_RES, and fastangle::v.


The documentation for this class was generated from the following file:
Generated on Fri Jun 22 14:07:59 2007 for ETL by  doxygen 1.5.2