|
My Project
|
Public Member Functions | |
| HourAngle () | |
| void | setHours (double hours) |
| void | setHours (std::string hours) |
| void | setHours (double hour, double min, double sec) |
| virtual | ~HourAngle () |
| double | hours () |
| double | seconds () |
| unsigned | getIntegerHours () |
| unsigned | getIntegerMinutes () |
| unsigned | getIntegerSeconds () |
| unsigned | getIntegerMilliSeconds () |
| HourAngle | operator+ (HourAngle &angle) |
| HourAngle | operator- (HourAngle &angle) |
Public Member Functions inherited from gcp::util::Angle | |
| Angle (bool modulo=false) | |
| Angle (std::string degrees, bool modulo=false) | |
| Angle (const Radians &units, double radians, bool modulo=false) | |
| Angle (const Degrees &units, double degrees, bool modulo=false) | |
| Angle (const MilliArcSec &units, double mas, bool modulo=false) | |
| Angle (const ArcSec &units, double as, bool modulo=false) | |
| Angle (const ArcMinutes &units, double am, bool modulo=false) | |
| Angle (Angle &angle) | |
| Angle (const Angle &angle) | |
| void | operator= (Angle &angle) |
| void | operator= (const Angle &angle) |
| virtual | ~Angle () |
| void | setRadians (double radians) |
| void | setDegrees (double degrees) |
| void | setDegrees (double degrees, double arcmin, double arcsec) |
| void | setArcMinutes (double am) |
| void | setMas (double mas) |
| void | setArcSec (double as) |
| void | setDegrees (std::string degrees) |
| virtual void | addRadians (double radians) |
| virtual void | addDegrees (double degrees) |
| virtual void | addDegrees (std::string degrees) |
| double | radians () |
| double | degrees () |
| double | arcsec () |
| double | arcmin () |
| double | mas () |
| std::string | strDegrees () |
| Angle | operator+ (Angle &angle) |
| Angle | operator- (Angle &angle) |
| void | operator/= (unsigned uval) |
| Angle | operator/ (unsigned uval) |
| bool | operator> (Angle &angle) |
| bool | operator> (const Angle &angle) |
| bool | operator>= (Angle &angle) |
| bool | operator< (Angle &angle) |
| bool | operator< (const Angle &angle) |
| bool | operator<= (Angle &angle) |
| void | initialize () |
Public Member Functions inherited from gcp::util::ConformableQuantity | |
| ConformableQuantity () | |
| virtual | ~ConformableQuantity () |
| bool | isFinite () |
Static Public Attributes | |
| static const double | hourPerRad_ = 12/M_PI |
| static const double | secPerRad_ = 3600*12/M_PI |
Static Public Attributes inherited from gcp::util::Angle | |
| static const double | pi_ = M_PI |
| static const double | twoPi_ = 2*M_PI |
| static const double | degPerRad_ = 180/M_PI |
| static const double | arcSecPerDegree_ = 3600 |
| static const double | masPerDegree_ = Angle::arcSecPerDegree_ * 1000 |
| static const double | arcSecPerRad_ = 206265 |
| static const double | arcMinPerRad_ = 60 * Angle::degPerRad_ |
| static const double | masPerRad_ = Angle::masPerDegree_ * Angle::degPerRad_ |
Friends | |
| std::ostream & | operator<< (std::ostream &os, HourAngle &hour) |
Additional Inherited Members | |
Static Public Member Functions inherited from gcp::util::Angle | |
| static double | sexagesimalToDouble (std::string valStr) |
| static std::string | doubleToSexagesimal (double val) |
Protected Member Functions inherited from gcp::util::Angle | |
| Angle (double radians, bool modulo) | |
Protected Member Functions inherited from gcp::util::ConformableQuantity | |
| void | setFinite (bool finite) |
Protected Attributes inherited from gcp::util::Angle | |
| double | radians_ |
| bool | modulo_ |
Protected Attributes inherited from gcp::util::ConformableQuantity | |
| bool | finite_ |
|
inline |
Public constructor intializes to angle modulo 2*PI
|
virtual |
Destructor.
|
inline |
Return the contents of this object
Add two HourAngles
....................................................................... Addition operator for HourAngle.
Subtract two HourAngles
....................................................................... Subtraction operator for HourAngle.
|
inline |
Return the contents of this object
| void HourAngle::setHours | ( | double | hours | ) |
Constructor.