#include <_fastangle.h>
Inheritance diagram for fastangle:

Public Types | |
| typedef double | value_type |
| typedef radians | rad |
| typedef degrees | deg |
| typedef rotations | rot |
Public Member Functions | |
| fastangle | operator+ (const fastangle &rhs) const |
| fastangle Addition Operator | |
| 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 |
| fastangle | dist (const fastangle &rhs) const |
| fastangle Difference Function | |
| fastangle | mod () const |
| Rotation Modulus. | |
| bool | operator! () const |
Static Public Member Functions | |
| static fastangle | zero () |
Protected Types | |
| typedef fixed_base< ETL_FIXED_TYPE, ETL_FASTANGLE_LOOKUP_RES > | unit |
Protected Attributes | |
| unit | v |
Friends | |
| class | radians |
| class | degrees |
| class | rotations |
| class | sin |
| class | cos |
| class | tan |
Classes | |
| class | cos |
| fastangle representation as a cosine function More... | |
| class | degrees |
| fastangle representation in degrees More... | |
| class | radians |
| fastangle representation in radians More... | |
| class | rotations |
| fastangle representation in rotations More... | |
| class | sin |
| fastangle representation as a sine function More... | |
| class | tan |
| fastangle representation as a tangent function More... | |
========================================================================
A more detailed description needs to be written.
Definition at line 57 of file _fastangle.h.
|
|
Definition at line 60 of file _fastangle.h. |
|
|
Definition at line 63 of file _fastangle.h. |
|
|
Definition at line 279 of file _fastangle.h. |
|
|
Definition at line 280 of file _fastangle.h. |
|
|
Definition at line 281 of file _fastangle.h. |
|
|
fastangle Addition Operator
Definition at line 75 of file _fastangle.h. References v. |
|
|
fastangle Subtraction Operator
Definition at line 85 of file _fastangle.h. References v. |
|
|
fastangle Scalar Multiplication Operator This operator will multiply the given fastangle by the given scalar value. Definition at line 96 of file _fastangle.h. References v. |
|
|
Definition at line 104 of file _fastangle.h. References v. |
|
|
Definition at line 112 of file _fastangle.h. References v. |
|
|
Definition at line 119 of file _fastangle.h. References v. |
|
|
Definition at line 126 of file _fastangle.h. References v. |
|
|
Definition at line 133 of file _fastangle.h. References v. |
|
|
fastangle Negation
Definition at line 141 of file _fastangle.h. References v. |
|
|
180 degree rotation operator Returns the fastangle directly opposite of the given fastangle, and will yield a result between 0 and 2PI Definition at line 153 of file _fastangle.h. |
|
|
Returns true if the shortest fastangle between the left-hand and right-hand side is clockwise Definition at line 164 of file _fastangle.h. References v. |
|
|
Returns true if the shortest fastangle between the left-hand and right-hand side is counter-clockwise Definition at line 172 of file _fastangle.h. References v. |
|
|
Returns true if the shortest fastangle between the left-hand and right-hand side is clockwise, or if the angles are refer to the same point on the unit circle. Definition at line 182 of file _fastangle.h. References v. |
|
|
Returns true if the shortest fastangle between the left-hand and right-hand side is counter-clockwise, or if the angles are refer to the same point on the unit circle. Definition at line 192 of file _fastangle.h. References v. |
|
|
Returns true if the angles are refer to the same point on the unit circle. Definition at line 200 of file _fastangle.h. References v. |
|
|
Returns false if the angles are refer to the same point on the unit circle. Definition at line 208 of file _fastangle.h. References v. |
|
|
fastangle Difference Function This function will return the shortest physical distance between two angles, from -PI/2 to PI/2
Reimplemented in fastangle::radians, fastangle::degrees, fastangle::rotations, fastangle::sin, fastangle::cos, and fastangle::tan. Definition at line 219 of file _fastangle.h. Referenced by fastangle::tan::dist(), fastangle::cos::dist(), fastangle::sin::dist(), fastangle::rotations::dist(), fastangle::degrees::dist(), and fastangle::radians::dist(). |
|
|
Rotation Modulus. This function will return the value of the fastangle between 0 and 2PI Reimplemented in fastangle::radians, fastangle::degrees, fastangle::rotations, fastangle::sin, fastangle::cos, and fastangle::tan. Definition at line 231 of file _fastangle.h. Referenced by fastangle::tan::mod(), fastangle::cos::mod(), fastangle::sin::mod(), fastangle::rotations::mod(), fastangle::degrees::mod(), and fastangle::radians::mod(). |
|
|
Definition at line 239 of file _fastangle.h. References v. |
|
|
Definition at line 246 of file _fastangle.h. References v. |
|
|
Definition at line 262 of file _fastangle.h. |
|
|
Definition at line 269 of file _fastangle.h. |
|
|
Definition at line 270 of file _fastangle.h. |
|
|
Definition at line 271 of file _fastangle.h. |
|
|
Definition at line 272 of file _fastangle.h. |
|
|
Definition at line 273 of file _fastangle.h. |
|
1.4.6