Function Helmert14.tryFromCanonical

Build a time-dependent transformation from base parameters and yearly rates.

static bool tryFromCanonical(
  const Helmert7!(T,convention) baseParameters,
  const T translationRateX,
  const T translationRateY,
  const T translationRateZ,
  const T rotationRateX,
  const T rotationRateY,
  const T rotationRateZ,
  const T scaleDifferenceRate,
  const Epoch!T referenceEpoch,
  out Helmert14!(T,convention) result
) pure nothrow @nogc @safe;

Use the published static parameters at their reference epoch, plus their yearly changes. Rotations use radians; rotation rates use radians/year. Scale and scale rate are dimensionless.

Rotation rates are radians/year and scale rate is dimensionless/year. Translation rates use the same linear unit as the base translations.

Example

Example checking canonical dynamic parameters without throwing.

import geodesy;
PositionVectorHelmert14!double h;
assert(PositionVectorHelmert14!double.tryFromCanonical(
    PositionVectorHelmert!double.init,
    0, 0, 0, 0, 0, 0, 0,
    Epoch!double.fromDecimalYear(2000.0),
    h));
assert(h.isValid);