1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
Index: previsat-3.5.1.7+dfsg1/librairies/corps/satellite/sgp4.h
===================================================================
--- previsat-3.5.1.7+dfsg1.orig/librairies/corps/satellite/sgp4.h
+++ previsat-3.5.1.7+dfsg1/librairies/corps/satellite/sgp4.h
@@ -88,35 +88,35 @@ private:
/* Constantes privees */
// Pour le modele haute orbite
- static const double ZEL = 0.0549;
- static const double ZES = 0.01675;
- static const double ZNL = 1.5835218e-4;
- static const double ZNS = 1.19459e-5;
- static const double C1SS = 2.9864797e-6;
- static const double C1L = 4.7968065e-7;
- static const double ZSINIS = 0.39785416;
- static const double ZCOSIS = 0.91744867;
- static const double ZCOSGS = 0.1945905;
- static const double ZSINGS = -0.98088458;
- static const double Q22 = 1.7891679e-6;
- static const double Q31 = 2.1460748e-6;
- static const double Q33 = 2.2123015e-7;
- static const double ROOT22 = 1.7891679e-6;
- static const double ROOT44 = 7.3636953e-9;
- static const double ROOT54 = 2.1765803e-9;
- static const double ROOT32 = 3.7393792e-7;
- static const double ROOT52 = 1.1428639e-7;
- static const double FASX2 = 0.13130908;
- static const double FASX4 = 2.8843198;
- static const double FASX6 = 0.37448087;
- static const double G22 = 5.7686396;
- static const double G32 = 0.95240898;
- static const double G44 = 1.8014998;
- static const double G52 = 1.050833;
- static const double G54 = 4.4108898;
- static const double STEPP = 720.;
- static const double STEPN = -720.;
- static const double STEP2 = 259200.;
+ static constexpr double ZEL = 0.0549;
+ static constexpr double ZES = 0.01675;
+ static constexpr double ZNL = 1.5835218e-4;
+ static constexpr double ZNS = 1.19459e-5;
+ static constexpr double C1SS = 2.9864797e-6;
+ static constexpr double C1L = 4.7968065e-7;
+ static constexpr double ZSINIS = 0.39785416;
+ static constexpr double ZCOSIS = 0.91744867;
+ static constexpr double ZCOSGS = 0.1945905;
+ static constexpr double ZSINGS = -0.98088458;
+ static constexpr double Q22 = 1.7891679e-6;
+ static constexpr double Q31 = 2.1460748e-6;
+ static constexpr double Q33 = 2.2123015e-7;
+ static constexpr double ROOT22 = 1.7891679e-6;
+ static constexpr double ROOT44 = 7.3636953e-9;
+ static constexpr double ROOT54 = 2.1765803e-9;
+ static constexpr double ROOT32 = 3.7393792e-7;
+ static constexpr double ROOT52 = 1.1428639e-7;
+ static constexpr double FASX2 = 0.13130908;
+ static constexpr double FASX4 = 2.8843198;
+ static constexpr double FASX6 = 0.37448087;
+ static constexpr double G22 = 5.7686396;
+ static constexpr double G32 = 0.95240898;
+ static constexpr double G44 = 1.8014998;
+ static constexpr double G52 = 1.050833;
+ static constexpr double G54 = 4.4108898;
+ static constexpr double STEPP = 720.;
+ static constexpr double STEPN = -720.;
+ static constexpr double STEP2 = 259200.;
/* Variables privees */
struct SatVariables
|