ETL
0.04.19
|
fastangle representation as a tangent function More...
#include <_fastangle.h>
Public Member Functions | |
tan (const value_type &x) | |
tan (const value_type &y, const value_type &x) | |
tan (const fastangle &a) | |
tan | mod () const |
Rotation Modulus. | |
tan | 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 fastangle & | operator+= (const fastangle &rhs) |
const fastangle & | operator-= (const fastangle &rhs) |
const fastangle & | operator*= (const unit &rhs) |
const fastangle & | operator/= (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 |
fastangle representation as a tangent function
========================================================================
A more detailed description needs to be written.
Definition at line 376 of file _fastangle.h.
|
inline |
Definition at line 379 of file _fastangle.h.
References _fastangle_atan_table, fixed_base< T, FIXED_BITS >::data(), ETL_FASTANGLE_LOOKUP_RES, and fastangle::v.
|
inline |
Definition at line 389 of file _fastangle.h.
References _fastangle_atan_table, fixed_base< T, FIXED_BITS >::data(), ETL_FASTANGLE_LOOKUP_RES, and fastangle::v.
|
inline |
Definition at line 421 of file _fastangle.h.
|
inline |
Rotation Modulus.
This function will return the value of the fastangle between 0 and 2PI
Reimplemented from fastangle.
Definition at line 422 of file _fastangle.h.
fastangle Difference Function
This function will return the shortest physical distance between two angles, from -PI/2 to PI/2
Reimplemented from fastangle.
Definition at line 423 of file _fastangle.h.
|
inline |
Definition at line 424 of file _fastangle.h.
|
inline |
Definition at line 425 of file _fastangle.h.
References _fastangle_tan_table, fixed_base< T, FIXED_BITS >::data(), ETL_FASTANGLE_LOOKUP_RES, and fastangle::v.