Stellarium 0.15.2
Main Page
Modules
Namespaces
Classes
Coding Style
Scripting
Plugins
File Structure
Files
File List
File Members
src
core
planetsephems
sidereal_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., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, 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,
double
JDE);
30
31
/* Calculate apparent sidereal time from date. We need JD(UT) and JDE(TT) here to accurately compute nutation. */
32
double
get_apparent_sidereal_time (
double
JD,
double
JDE);
33
/* Calculate mean ecliptical obliquity in degrees. */
34
// double get_mean_ecliptical_obliquity(double JDE);
35
/* Calculate nutation in longitude in degrees. */
36
//double get_nutation_longitude(double JDE);
37
38
#ifdef __cplusplus
39
}
40
#endif
41
42
43
#endif
/* _STELLASTRO_H */
Generated on Tue Mar 21 2017 14:15:14 for Stellarium by
1.8.11