Документ взят из кэша поисковой машины. Адрес оригинального документа : http://astro.uni-altai.ru/~aw/stellarium/api/stdsat_8h_source.html
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 07:27:05 2014
Кодировка:
Stellarium: /home/aw/devel/stellarium/trunk/plugins/Satellites/src/gsatellite/stdsat.h Source File
Stellarium 0.12.3
stdsat.h
1 /***************************************************************************
2  * Copyright (C) 2006 by J. L. Canales *
3  * jlcanales@users.sourceforge.net *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License *
16  * along with this program; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. *
19  ***************************************************************************/
20 
21 #ifndef _STDSAT_H_
22 #define _STDSAT_H_ 1
23 
24 static const double KINTERPOLATIONLIMIT=0.0000000000001;
25 static const double KMU=3.9861352E5;
26 static const double KPI=3.141592654;
27 static const double K2PI=6.283185308;
28 static const double KEARTHRADIUS=6378.135;
29 static const double __f=3.352779E-3;
30 static const double KMFACTOR=7.292115E-5;
31 static const double KAU=1.4959787066E8; //Km
32 
33 static const double KDEG2RAD = KPI / 180.0; // 0.0174532925199433
34 static const double XPDOTP = 1440.0 / K2PI; // 229.1831180523293 minutes per radian (earth rotation)
35 
36 #endif // _STDSAT_H_