1 #ifndef CARMA_SERVICES_DECANGLE_H
2 #define CARMA_SERVICES_DECANGLE_H
22 class DecAngle :
public Angle {
28 explicit DecAngle(
double value,
const std::string& units);
35 std::string
dms(
int precision = 0)
const ;
43 const DecAngle
operator+(
const DecAngle& angle)
const;
51 const DecAngle
operator-(
const DecAngle& angle)
const;
80 double checkValue(
double value )
const;
88 const carma::services::DecAngle& angle);
95 #endif // End #ifndef CARMA_SERVICES_DECANGLE_H
std::string dms(bool modulo=true, int precision=0) const
Angle & operator+=(const Angle &angle)
Add Angle.
const Angle operator-(const Angle &angle) const
Subtract two Angles.
Representation of an angle, return values are always modulo 2PI radians.
Angle & operator-=(const Angle &angle)
Subtract Angle.
const Angle operator+(const Angle &angle) const
Add two Angles.
std::ostream & operator<<(std::ostream &os, const carma::services::Angle &angle)
Define the << operator to allow, e.g.