feisty meow concerns codebase
2.140
|
double_angle provides a non-templated class for forward declarations. More...
#include <angle.h>
Public Member Functions | |
double_angle (double init=0, angular_units unit=RADIANS) | |
double_angle (const angle< double > &to_copy) | |
Public Member Functions inherited from geometric::angle< double > | |
DEFINE_CLASS_NAME ("angle") | |
angle (double inital_rotation=0, angular_units unit=RADIANS) | |
constructs a new angle with "initial_rotation" in the "unit". More... | |
void | set (double a, angular_units unit) |
sets the angle to a new rotation "a" in the "unit". More... | |
double | get (angular_units unit) const |
retrieves the current angular measure. More... | |
angle | operator- (void) const |
returns the negation of this angle. More... | |
angle | operator- (const angle &to_subtract) const |
angle | operator+ (const angle &to_add) const |
angle | operator* (double to_multiply) const |
angle | operator/ (double to_divide) const |
angle & | operator+= (const angle &to_add) |
angle & | operator-= (const angle &to_subtract) |
angle & | operator*= (double to_multiply) |
angle & | operator/= (double to_divide) |
double | sine () const |
returns the sin function of this angle. More... | |
double | cosine () const |
returns the cos function of this angle. More... | |
double | tangent () const |
returns the tan function of this angle. More... | |
virtual int | packed_size () const |
Estimates the space needed for the packed structure. More... | |
virtual void | pack (basis::byte_array &packed_form) const |
packs the angle for shipping in bytes. More... | |
virtual bool | unpack (basis::byte_array &packed_form) |
unpacks the angle from the "packed_form". More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from geometric::angle< double > | |
static angle | arctangent (double opposite, double adjacent, basis::outcome &retval) |
returns the atan of the angle. More... | |
static angle | arccosine (double adjacent, double hypotenuse, basis::outcome &retval) |
returns the acos of the angle. More... | |
static angle | arcsine (double opposite, double hypotenuse, basis::outcome &retval) |
returns the asin of the angle. More... | |
double_angle provides a non-templated class for forward declarations.
|
inline |
|
inline |