sky_coord Class Reference

Class for sky coordinates. More...

#include <sky_coord.h>

Inheritance diagram for sky_coord:
AnglePair

Public Member Functions

 sky_coord (const std::string &astr)
 
 sky_coord (const sky_coord &co)
 
 sky_coord (const AnglePair &co)
 
sky_coordoperator= (const AnglePair &co)
 
 sky_coord (const Angle &a1, const Angle &a2)
 
 sky_coord (const double d1, const double d2)
 
const sky_coordsetJRaDecMS (long int ra, long int dec)
 
const sky_coordsetGalactic (AnglePair &gal)
 
AnglePair getGalactic () const
 
AnglePairgetRaDec ()
 
Anglera ()
 
Angledec ()
 
const AnglePairgetRaDec () const
 
const Anglera () const
 
const Angledec () const
 
- Public Member Functions inherited from AnglePair
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)
 

Additional Inherited Members

- Public Attributes inherited from AnglePair
Angle angle1
 
Angle angle2
 

Detailed Description

Class for sky coordinates.

Inherits AnglePair, where members angle1 and angle2 are J2000.0 right ascension and declination respectively.


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

Generated using doxygen 1.8.17