Function Helmert14.tryEvaluate

Get the effective seven static parameters for an observation year.

bool tryEvaluate(
  const Epoch!T observationEpoch,
  out Helmert7!(T,convention) result
) const pure nothrow @nogc @safe;

The rates are applied for the elapsed years since the reference epoch. Use this to inspect or reuse the epoch-specific parameters.

Returns

true when the epoch and all propagated parameters are finite and representable in scalar type T; otherwise false.

Example

Example evaluating parameters ten years after their reference epoch.

import geodesy;
const h = PositionVectorHelmert14!double.fromCanonical(
    PositionVectorHelmert!double.init,
    0.001, 0, 0, 0, 0, 0, 0,
    Epoch!double.fromDecimalYear(2000.0));
PositionVectorHelmert!double effective;
assert(h.tryEvaluate(Epoch!double.fromDecimalYear(2010.0), effective));
assert(effective.translationX == 0.01);