longTermGcrsToMeanEclipticOfDate function

Vector3 longTermGcrsToMeanEclipticOfDate(
  1. Vector3 r,
  2. double t
)

Transforms vector r from the GCRS to the mean ecliptic and equinox of date at t, with the long-term precession model.

Implementation

Vector3 longTermGcrsToMeanEclipticOfDate(Vector3 r, double t) {
  final m = _gcrsToMeanJ2000(r);
  final f = _eclipticFrame(t);
  return Vector3(f[0].dot(m), f[1].dot(m), f[2].dot(m));
}