AnglePair class : useful for sky positions. More...

#include <Angle.h>

Inheritance diagram for AnglePair:
sky_coord

Public Member Functions

int setHMSDMS (const char *coordstr)
int setHMSDMS (const char *, const char *)
int setHMSDMS (const std::string &, const std::string &)
void getHMSDMS (char *s1, char *s2, int places1=3, int places2=2) const
std::string getHMSDMS (int places1=3, int places2=2, bool space=true) const
void setDegrees (double, double)
void getDegrees (double *, double *) const
std::string getDegrees () const
void setRadians (double, double)
void getRadians (double *, double *) const
std::string getRadians () const
Angle angularSeparation (const AnglePair &other) const
void setRadMS (long int, long int)
void getRadMS (long int *, long int *)
AnglePairoperator= (const AnglePair &)
AnglePairoperator*= (const double)
 AnglePair (const double=0.0, const double=0.0)
 AnglePair (const AnglePair &)
 AnglePair (const Angle &, const Angle &)
 AnglePair (const std::string &astr)
bool equals (const AnglePair &that)
 For use in Python.

Public Attributes

Angle angle1
Angle angle2

Friends

AnglePair operator* (const AnglePair &pair, const double mult)
int operator== (const AnglePair &a1, const AnglePair &a2)
int operator!= (const AnglePair &a1, const AnglePair &a2)
std::ostream & operator<< (std::ostream &os, const AnglePair &pair)

Detailed Description

AnglePair class : useful for sky positions.

Sign convention should be as per usual output, that is in general angle 1 is 0 to 2pi and angle 2 is -pi to pi


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

Generated using doxygen 1.14.0