Stellarium 0.12.3
sideral_time.h
1 /*
2 Copyright (C) 2000 Liam Girdwood <liam@nova-ioe.org>
3 Copyright (C) 2003 Fabien Chereau
4 Copyright (C) 2010 Georg Zotti (parts)
5 
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU Library General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10 
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15 
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 */
20 
21 #ifndef _STELLASTRO_H
22 #define _STELLASTRO_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 /* Calculate mean sidereal time from date. */
29 double get_mean_sidereal_time (double JD);
30 
31 /* Calculate apparent sidereal time from date.*/
32 double get_apparent_sidereal_time (double JD);
33 /* Calculate mean ecliptical obliquity in degrees. */
34 double get_mean_ecliptical_obliquity(double JDE);
35 
36 #ifdef __cplusplus
37 }
38 #endif
39 
40 
41 #endif /* _STELLASTRO_H */