saLonT2 static method

double saLonT2(
  1. double w
)

Implementation

static double saLonT2(double w) {
  double v = 628.3319653318;
  double t = (w - 1.75347 - math.pi) / v;
  t -= (0.000005297 * t * t + 0.0334166 * math.cos(4.669257 + 628.307585 * t) + 0.0002061 * math.cos(2.67823 + 628.307585 * t) * t) / v;
  t += (w - eLon(t, 8) - math.pi + (20.5 + 17.2 * math.sin(2.1824 - 33.75705 * t)) / SECOND_PER_RAD) / v;
  return t;
}