Instrument Neutral Distributed Interface INDI  1.9.2
Classes | Namespaces | Macros | Functions
libastro.h File Reference
#include <libnova/utility.h>

Go to the source code of this file.

Classes

struct  INDI::IEquatorialCoordinates
 
struct  INDI::IHorizontalCoordinates
 
struct  INDI::IGeographicCoordinates
 

Namespaces

 INDI
 Namespace to encapsulate INDI client, drivers, and mediator classes.
 

Macros

#define RAD_TO_DEG(rad)   (rad * 180.0/M_PI)
 
#define DEG_TO_RAD(deg)   (deg * M_PI/180.0)
 

Functions

void INDI::ObservedToJ2000 (IEquatorialCoordinates *observed, double jd, IEquatorialCoordinates *J2000pos)
 ObservedToJ2000 converts an observed position to a J2000 catalogue position removes aberration, nutation and precession. More...
 
void INDI::J2000toObserved (IEquatorialCoordinates *J2000pos, double jd, IEquatorialCoordinates *observed)
 *J2000toObserved converts catalogue to observed More...
 
void INDI::EquatorialToHorizontal (IEquatorialCoordinates *object, IGeographicCoordinates *observer, double JD, IHorizontalCoordinates *position)
 EquatorialToHorizontal Calculate horizontal coordinates from equatorial coordinates. More...
 
void INDI::HorizontalToEquatorial (IHorizontalCoordinates *object, IGeographicCoordinates *observer, double JD, IEquatorialCoordinates *position)
 HorizontalToEquatorial Calculate Equatorial EOD Coordinates from horizontal coordinates. More...
 
void INDI::ln_get_equ_nut (ln_equ_posn *posn, double jd, bool reverse)
 apply or remove nutation More...
 

Macro Definition Documentation

◆ DEG_TO_RAD

#define DEG_TO_RAD (   deg)    (deg * M_PI/180.0)

Definition at line 37 of file libastro.h.

◆ RAD_TO_DEG

#define RAD_TO_DEG (   rad)    (rad * 180.0/M_PI)

Definition at line 36 of file libastro.h.