casa
5.7.0-16
|
Defines a Class for those parameters being angles. More...
#include <ATMAngle.h>
Public Member Functions | |
Angle () | |
Default constructor. More... | |
Angle (double angle) | |
A full constructor: Angle value in default units (SI: radians) More... | |
Angle (double angle, const string &units) | |
A full constructor: Angle value + units. More... | |
virtual | ~Angle () |
Destructor. More... | |
double | get () const |
Accessor to get the angle value in SI units (rad) More... | |
double | get (const string &units) const |
Accessor to the angle value in specified units. More... | |
Angle & | operator= (const Angle &rhs) |
Operator "equal to a Angle". More... | |
Angle & | operator= (double rhs) |
Operator "equal to a double converted to Angle in Hz". More... | |
Angle | operator+ (const Angle &rhs) |
Operator "addition of angles". More... | |
Angle | operator- (const Angle &rhs) |
Operator "substraction of angles". More... | |
Angle | operator* (double scf) |
Operator "multiplication of a angle by a double". More... | |
Angle | operator* (float scf) |
Operator "multiplication of a angle by a float". More... | |
Angle | operator* (int scf) |
Operator "multiplication of a angle by an int". More... | |
Angle | operator* (unsigned int scf) |
Operator "multiplication of a angle by an unsigned int". More... | |
Angle | operator/ (double scf) |
Operator "division of a angle by a double". More... | |
Angle | operator/ (float scf) |
Operator "division of a angle by a float". More... | |
Angle | operator/ (int scf) |
Operator "division of a angle by an int". More... | |
Angle | operator/ (unsigned int scf) |
Operator "division of a angle by an unsigned int". More... | |
bool | operator< (const Angle &rhs) const |
Operator "comparator < for two angles". More... | |
bool | operator> (const Angle &rhs) const |
Operator "comparator > for two angles". More... | |
bool | operator<= (const Angle &rhs) const |
Operator "comparator <= for two angles". More... | |
bool | operator>= (const Angle &rhs) const |
Operator "comparator >= for two angles". More... | |
bool | operator== (const Angle &rhs) const |
Operator "comparator == for two angles". More... | |
bool | operator!= (const Angle &rhs) const |
Operator "comparator != for two angles". More... | |
Private Attributes | |
double | valueIS_ |
Defines a Class for those parameters being angles.
Defines a Class for those physical parameters having units of angle. For example the Total Phase Delay can be expressed as an angle (but also as a length).
Definition at line 44 of file ATMAngle.h.
Angle::Angle | ( | ) |
Default constructor.
Referenced by operator*(), operator+(), operator-(), and operator/().
Angle::Angle | ( | double | angle | ) |
A full constructor: Angle value in default units (SI: radians)
Angle::Angle | ( | double | angle, |
const string & | units | ||
) |
A full constructor: Angle value + units.
Implemented units are: deg [DEG], rad [RAD] [Rad]
|
virtual |
Destructor.
|
inline |
Accessor to get the angle value in SI units (rad)
Definition at line 58 of file ATMAngle.h.
References valueIS_.
Referenced by WVRMeasurement::getAirMass(), operator!=(), operator+(), operator-(), operator<(), operator<=(), operator==(), operator>(), and operator>=().
double Angle::get | ( | const string & | units | ) | const |
Accessor to the angle value in specified units.
Implemented units are: deg [DEG], rad [RAD] [Rad]. If none of these implemented units is given, the SI value will be returned.
|
inline |
Operator "comparator != for two angles".
Definition at line 98 of file ATMAngle.h.
|
inline |
Operator "multiplication of a angle by a double".
Definition at line 72 of file ATMAngle.h.
|
inline |
Operator "multiplication of a angle by a float".
Definition at line 74 of file ATMAngle.h.
|
inline |
Operator "multiplication of a angle by an int".
Definition at line 76 of file ATMAngle.h.
|
inline |
Operator "multiplication of a angle by an unsigned int".
Definition at line 78 of file ATMAngle.h.
Operator "addition of angles".
Definition at line 68 of file ATMAngle.h.
Operator "substraction of angles".
Definition at line 70 of file ATMAngle.h.
|
inline |
Operator "division of a angle by a double".
Definition at line 80 of file ATMAngle.h.
|
inline |
Operator "division of a angle by a float".
Definition at line 82 of file ATMAngle.h.
|
inline |
Operator "division of a angle by an int".
Definition at line 84 of file ATMAngle.h.
|
inline |
Operator "division of a angle by an unsigned int".
Definition at line 86 of file ATMAngle.h.
|
inline |
Operator "comparator < for two angles".
Definition at line 88 of file ATMAngle.h.
|
inline |
Operator "comparator <= for two angles".
Definition at line 92 of file ATMAngle.h.
|
inline |
Operator "equal to a double converted to Angle in Hz".
Definition at line 66 of file ATMAngle.h.
References valueIS_.
|
inline |
Operator "comparator == for two angles".
Definition at line 96 of file ATMAngle.h.
|
inline |
Operator "comparator > for two angles".
Definition at line 90 of file ATMAngle.h.
|
inline |
Operator "comparator >= for two angles".
Definition at line 94 of file ATMAngle.h.
|
private |
Definition at line 101 of file ATMAngle.h.
Referenced by get(), operator!=(), operator*(), operator+(), operator-(), operator/(), operator<(), operator<=(), operator=(), operator==(), operator>(), and operator>=().