Lines Matching refs:PI

186     static private final double PI = 3.14159265358979323846;
187 static private final double PI2 = PI * 2.0;
189 static private final double RAD_HOUR = 12 / PI; // radians -> hours
190 static private final double DEG_RAD = PI / 180; // degrees -> radians
191 static private final double RAD_DEG = 180 / PI; // radians -> degrees
480 double H = getLocalSidereal()*PI/12 - equatorial.ascension; // Hour-angle
502 // Angles are in radians (after multiplying by PI/180)
506 static final double SUN_ETA_G = 279.403303 * PI/180; // Ecliptic longitude at epoch
507 static final double SUN_OMEGA_G = 282.768422 * PI/180; // Ecliptic longitude of perigee
510 //double sunTheta0 = 0.533128 * PI/180; // Angular diameter at R0
637 public static final SolarLongitude SUMMER_SOLSTICE = new SolarLongitude(PI/2);
645 public static final SolarLongitude AUTUMN_EQUINOX = new SolarLongitude(PI);
653 public static final SolarLongitude WINTER_SOLSTICE = new SolarLongitude((PI*3)/2);
758 // double offset = Math.round(fLongitude*12/PI); // p.95 step 6; he _rounds_ to nearest 15 deg.
888 // double E = M + e*(180/PI) * Math.sin(M*DEG_RAD) * ( 1.0 + e*Math.cos(M*DEG_RAD) );
989 static final double moonL0 = 318.351648 * PI/180; // Mean long. at epoch
990 static final double moonP0 = 36.340410 * PI/180; // Mean long. of perigee
991 static final double moonN0 = 318.510107 * PI/180; // Mean long. of node
992 static final double moonI = 5.145366 * PI/180; // Inclination of orbit
997 static final double moonT0 = 0.5181 * PI/180; // Angular size at distance A
998 static final double moonPi = 0.9507 * PI/180; // Parallax at distance A
1024 double meanLongitude = norm2PI(13.1763966*PI/180*day + moonL0);
1025 double meanAnomalyMoon = norm2PI(meanLongitude - 0.1114041*PI/180 * day - moonP0);
1033 double evection = 1.2739*PI/180 * Math.sin(2 * (meanLongitude - sunLong)
1035 double annual = 0.1858*PI/180 * Math.sin(meanAnomalySun);
1036 double a3 = 0.3700*PI/180 * Math.sin(meanAnomalySun);
1047 double center = 6.2886*PI/180 * Math.sin(meanAnomalyMoon);
1048 double a4 = 0.2140*PI/180 * Math.sin(2 * meanAnomalyMoon);
1058 double variation = 0.6583*PI/180 * Math.sin(2*(moonLongitude - sunLong));
1069 double nodeLongitude = norm2PI(moonN0 - 0.0529539*PI/180 * day);
1071 nodeLongitude -= 0.16*PI/180 * Math.sin(meanAnomalySun);
1142 public static final MoonAge FIRST_QUARTER = new MoonAge(PI/2);
1149 public static final MoonAge FULL_MOON = new MoonAge(PI);
1156 public static final MoonAge LAST_QUARTER = new MoonAge((PI*3)/2);
1348 * Normalize an angle into the range -PI - PI
1351 return normalize(angle + PI, PI2) - PI;