11#include <QGlobalStatic> 
  105      *
this = *
this + angle2;
 
 
  116      *
this = *
this - angle2;
 
 
  127      return *
this * (double)value;
 
 
  138      *
this = *
this * value;
 
 
  149      return *
this / (double)value;
 
 
  159      *
this = *
this / value;
 
 
  187      return !(*
this == angle2);
 
 
  198      return *
this < angle2 || *
this == angle2;
 
 
  210      return *
this > angle2 || *
this == angle2;
 
 
  248    virtual QString 
toString(
bool includeUnits = 
true) 
const;
 
  250    virtual double angle(
const Units& unit) 
const;
 
  251    virtual void setAngle(
const double &
angle, 
const Units& unit);
 
 
QDebug operator<<(QDebug dbg, const Isis::Angle &angleToPrint)
Display an Angle for a debugging statement.
Definition Angle.cpp:368
 
Defines an angle and provides unit conversions.
Definition Angle.h:45
 
bool operator>(const Angle &angle2) const
Test if the other angle is greater than the current angle.
Definition Angle.cpp:226
 
bool operator<=(const Angle &angle2) const
Test if the other angle is less than or equal to the current angle.
Definition Angle.h:197
 
bool isValid() const
This indicates whether we have a legitimate angle stored or are in an unset, or invalid,...
Definition Angle.cpp:95
 
Angle operator-(const Angle &angle2) const
Subtract angle value from another and return the resulting angle.
Definition Angle.cpp:136
 
void operator*=(double value)
Multiply this angle by a double and set this instance to the resulting angle.
Definition Angle.h:137
 
void operator/=(double value)
Divide this angle by a double and return the resulting angle.
Definition Angle.h:158
 
virtual ~Angle()
Destroys the angle object.
Definition Angle.cpp:83
 
Angle()
Constructs a blank angle object which needs a value to be set in order to do any calculations.
Definition Angle.cpp:23
 
Angle & operator=(const Angle &angle2)
Assign angle object equal to another.
Definition Angle.h:83
 
friend Angle operator*(double mult, Angle angle)
Multiply this angle by a double and return the resulting angle.
Definition Angle.cpp:170
 
virtual void setAngle(const double &angle, const Units &unit)
Set angle value in desired units.
Definition Angle.cpp:323
 
Angle operator*(int value) const
Multiply this angle by an integer and return the resulting angle.
Definition Angle.h:126
 
bool operator<(const Angle &angle2) const
Test if the other angle is less than the current angle.
Definition Angle.cpp:208
 
double unitWrapValue(const Units &unit) const
Return wrap value in desired units.
Definition Angle.cpp:266
 
double radians() const
Convert an angle to a double.
Definition Angle.h:226
 
void setDegrees(double degrees)
Set the angle in units of Degrees.
Definition Angle.h:246
 
void setRadians(double radians)
Set the angle in units of Radians.
Definition Angle.h:239
 
double degrees() const
Get the angle in units of Degrees.
Definition Angle.h:232
 
bool operator==(const Angle &angle2) const
Test if another angle is equal to this angle.
Definition Angle.h:174
 
static Angle fullRotation()
Makes an angle to represent a full rotation (0-360 or 0-2pi).
Definition Angle.cpp:106
 
void operator-=(const Angle &angle2)
Subtract angle value from another and set this instance to the resulting angle.
Definition Angle.h:115
 
Angle operator+(const Angle &angle2) const
Add angle value to another.
Definition Angle.cpp:118
 
bool operator>=(const Angle &angle2) const
Test if the other angle is greater than or equal to the current angle.
Definition Angle.h:209
 
void operator+=(const Angle &angle2)
Add angle value to another as double and replace original.
Definition Angle.h:104
 
Angle operator/(double value) const
Divide this angle by a double.
Definition Angle.cpp:181
 
virtual double angle(const Units &unit) const
Return angle value in desired units.
Definition Angle.cpp:289
 
Units
The set of usable angle measurement units.
Definition Angle.h:49
 
@ Degrees
Degrees are generally considered more human readable, 0-360 is one circle, however most math does not...
Definition Angle.h:56
 
@ Radians
Radians are generally used in mathematical equations, 0-2*PI is one circle, however these are more di...
Definition Angle.h:63
 
bool operator!=(const Angle &angle2) const
Test if another angle is not equal to this angle.
Definition Angle.h:186
 
virtual QString toString(bool includeUnits=true) const
Get the angle in human-readable form.
Definition Angle.cpp:243
 
Angle operator/(int value) const
Divide this angle by an integer and return the resulting angle.
Definition Angle.h:148
 
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16