#ifndef _PLANET_H
#define _PLANET_H

/* see also http://www.stjarnhimlen.se/comp/tutorial.html for algorithms and examples */

typedef enum object_types {
  sol,
  mercury,
  venus,
  mars,
  jupiter,
  saturn,
  uranus,
  neptune,
  pluto,
  
  object_types_sentinel
} object_types;

typedef enum object_coordinate_types {
  rightAscension,
  declination,
  azimuth,
  elevation,
  
  object_coordinate_types_sentinel
} object_coordinate_types;

void
set_pp_latitude (double lat);

void
set_pp_longitude (double lon);

void
set_pp_jd (double jd);

double
get_planet_pos (object_types obj, object_coordinate_types coord);

double
get_jd_of_ecliptic_longitude (int the_year, double ecliptic_longitude );

#endif