Function Helmert14.fromArcSecondsAndPpm
Create a dynamic transform from published EPSG-style values.
static Helmert14!(T,convention) fromArcSecondsAndPpm(
const T translationX,
const T translationY,
const T translationZ,
const T rotationXArcSeconds,
const T rotationYArcSeconds,
const T rotationZArcSeconds,
const T scaleDifferencePpm,
const T translationRateX,
const T translationRateY,
const T translationRateZ,
const T rotationRateXArcSeconds,
const T rotationRateYArcSeconds,
const T rotationRateZArcSeconds,
const T scaleDifferenceRatePpm,
const Epoch!T referenceEpoch
) @safe;
Rotations use arc-seconds, scale uses ppm, and rates use these
units per year. Supply the reference epoch of the published values.
Use tryFromArcSecondsAndPpm for checked construction.
Example
Example constructing EPSG-style Position Vector parameters.
import geodesy;
const h = PositionVectorHelmert14!double .fromArcSecondsAndPpm(
0, 0, 0, 0, 0, 0, 0,
0.001, 0.002, 0.003, 0, 0, 0, 0,
Epoch!double .fromDecimalYear(2000.0));
assert(h .translationRateZ == 0.003);