Inheritance diagram for code::BoundedAngle:
Public Member Functions | |
BoundedAngle () | |
The default BoundedAngle corresponds to zero degrees. | |
BoundedAngle (const Angle &, const Angle &=Angle()) | |
Build a BoundedAngle from an angle and the minimum bound. | |
double | degrees () const |
double | radians () const |
double | value (const std::string &unit) const |
Angle | norm () const |
Angle & | operator *= (double d) |
Angle & | operator/= (double d) |
Angle & | operator+= (const Angle &a) |
Angle & | operator-= (const Angle &a) |
Angle | operator * (double d) const |
Angle | operator/ (double d) const |
double | operator/ (const Angle &a) const |
Angle | operator+ (const Angle &a) const |
Angle | operator- (const Angle &a) const |
int | compareTo (const Angle &a) const |
bool | operator< (const Angle &a) const |
bool | operator<= (const Angle &a) const |
bool | operator== (const Angle &a) const |
bool | operator!= (const Angle &a) const |
bool | operator>= (const Angle &a) const |
bool | operator> (const Angle &a) const |
double | cos () const |
double | sin () const |
double | tan () const |
Static Public Member Functions | |
static Angle | Degrees (double deg) |
static Angle | Radians (double rad) |
static Angle | DegMinSec (double d, double m, double s) |
static double | cos (const Angle &a) |
static double | sin (const Angle &a) |
static double | tan (const Angle &a) |
static Angle | arccos (double t) |
static Angle | arcsin (double t) |
static Angle | arctan (double t) |
static Angle | arctan2 (double y, double x) |
code::BoundedAngle::BoundedAngle | ( | ) |
The default BoundedAngle corresponds to zero degrees.
Build a BoundedAngle from an angle and the minimum bound.
The maximum bound is always 2*pi + _lowerBound
For example, BoundedAngle( Degrees( 370 ), 0 ) will produce a BoundedAngle with its internal storage being 10 degrees.
const_Angle& | The angle to be converted. | |
const_Angle& | The lower bound. The upper bound is 2*pi + _lowerBound. |
static Angle code::Angle::arccos | ( | double | t | ) | [inline, static, inherited] |
static Angle code::Angle::arcsin | ( | double | t | ) | [inline, static, inherited] |
static Angle code::Angle::arctan | ( | double | t | ) | [inline, static, inherited] |
static Angle code::Angle::arctan2 | ( | double | y, | |
double | x | |||
) | [inline, static, inherited] |
int code::Angle::compareTo | ( | const Angle & | a | ) | const [inline, inherited] |
static double code::Angle::cos | ( | const Angle & | a | ) | [inline, static, inherited] |
double code::Angle::cos | ( | ) | const [inline, inherited] |
static Angle code::Angle::DegMinSec | ( | double | d, | |
double | m, | |||
double | s | |||
) | [static, inherited] |
double code::Angle::degrees | ( | ) | const [inline, inherited] |
static Angle code::Angle::Degrees | ( | double | deg | ) | [inline, static, inherited] |
Angle code::Angle::norm | ( | ) | const [inherited] |
Angle code::Angle::operator * | ( | double | d | ) | const [inline, inherited] |
Angle& code::Angle::operator *= | ( | double | d | ) | [inline, inherited] |
bool code::Angle::operator!= | ( | const Angle & | a | ) | const [inline, inherited] |
double code::Angle::operator/ | ( | const Angle & | a | ) | const [inline, inherited] |
Angle code::Angle::operator/ | ( | double | d | ) | const [inline, inherited] |
Angle& code::Angle::operator/= | ( | double | d | ) | [inline, inherited] |
bool code::Angle::operator< | ( | const Angle & | a | ) | const [inline, inherited] |
bool code::Angle::operator<= | ( | const Angle & | a | ) | const [inline, inherited] |
bool code::Angle::operator== | ( | const Angle & | a | ) | const [inline, inherited] |
bool code::Angle::operator> | ( | const Angle & | a | ) | const [inline, inherited] |
bool code::Angle::operator>= | ( | const Angle & | a | ) | const [inline, inherited] |
double code::Angle::radians | ( | ) | const [inline, inherited] |
static Angle code::Angle::Radians | ( | double | rad | ) | [inline, static, inherited] |
static double code::Angle::sin | ( | const Angle & | a | ) | [inline, static, inherited] |
double code::Angle::sin | ( | ) | const [inline, inherited] |
static double code::Angle::tan | ( | const Angle & | a | ) | [inline, static, inherited] |
double code::Angle::tan | ( | ) | const [inline, inherited] |
double code::Angle::value | ( | const std::string & | unit | ) | const [inherited] |