My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::DecAngle Class Reference
Inheritance diagram for gcp::util::DecAngle:
gcp::util::Angle gcp::util::ConformableQuantity gcp::util::Declination

Public Member Functions

 DecAngle ()
 
virtual ~DecAngle ()
 
double arcMinutes ()
 
double arcSeconds ()
 
DecAngle operator+ (DecAngle &angle)
 
DecAngle operator- (DecAngle &angle)
 
int getIntegerDegrees ()
 
unsigned getIntegerArcMinutes ()
 
unsigned getIntegerArcSeconds ()
 
unsigned getIntegerMilliArcSeconds ()
 
- 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 ()
 

Additional Inherited Members

- Static Public Member Functions inherited from gcp::util::Angle
static double sexagesimalToDouble (std::string valStr)
 
static std::string doubleToSexagesimal (double val)
 
- 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_
 
- 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_
 

Constructor & Destructor Documentation

gcp::util::DecAngle::DecAngle ( )
inline

Constructor.

virtual gcp::util::DecAngle::~DecAngle ( )
inlinevirtual

Destructor.

Member Function Documentation

DecAngle gcp::util::DecAngle::operator+ ( DecAngle angle)
inline

Add two DecAngles

DecAngle gcp::util::DecAngle::operator- ( DecAngle angle)
inline

Subtract two DecAngles


The documentation for this class was generated from the following file: