ETL  0.04.19
Public Member Functions | List of all members
fastangle::rotations Class Reference

fastangle representation in rotations More...

#include <_fastangle.h>

Inheritance diagram for fastangle::rotations:
fastangle

Public Member Functions

 rotations (const value_type &x)
 rotations (const fastangle &a)
rotations mod () const
 Rotation Modulus.
rotations dist (const fastangle &rhs) const
 fastangle Difference Function
 operator value_type () const
value_type get () const
- Public Member Functions inherited from fastangle
fastangle operator+ (const fastangle &rhs) const
 Stored in rotations.
fastangle operator- (const fastangle &rhs) const
 fastangle Subtraction Operator
fastangle operator* (const unit &rhs) const
 fastangle Scalar Multiplication Operator
fastangle operator/ (const unit &rhs) const
const fastangleoperator+= (const fastangle &rhs)
const fastangleoperator-= (const fastangle &rhs)
const fastangleoperator*= (const unit &rhs)
const fastangleoperator/= (const unit &rhs)
fastangle operator- () const
 fastangle Negation
fastangle operator~ () const
 180 degree rotation operator
bool operator< (const fastangle &rhs) const
bool operator> (const fastangle &rhs) const
bool operator<= (const fastangle &rhs) const
bool operator>= (const fastangle &rhs) const
bool operator== (const fastangle &rhs) const
bool operator!= (const fastangle &rhs) const
bool operator! () const

Additional Inherited Members

- Public Types inherited from fastangle
typedef double value_type
typedef radians rad
typedef degrees deg
typedef rotations rot
- Static Public Member Functions inherited from fastangle
static fastangle zero ()
- Protected Types inherited from fastangle
typedef fixed_base
< ETL_FIXED_TYPE,
ETL_FASTANGLE_LOOKUP_RES
unit
- Protected Attributes inherited from fastangle
unit v

Detailed Description

fastangle representation in rotations

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

A more detailed description needs to be written.

Definition at line 325 of file _fastangle.h.

Constructor & Destructor Documentation

Definition at line 328 of file _fastangle.h.

References fastangle::v.

Definition at line 329 of file _fastangle.h.

Member Function Documentation

rotations fastangle::rotations::mod ( ) const
inline

Rotation Modulus.

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

Reimplemented from fastangle.

Definition at line 330 of file _fastangle.h.

rotations fastangle::rotations::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 331 of file _fastangle.h.

fastangle::rotations::operator value_type ( ) const
inline

Definition at line 332 of file _fastangle.h.

value_type fastangle::rotations::get ( ) const
inline

Definition at line 333 of file _fastangle.h.

References fastangle::v.


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