Function MolodenskyBadekas10.fromArcSecondsAndPpm
Prepare the local-pivot transform from published EPSG-style parameters.
static MolodenskyBadekas10!(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 evaluationPointX,
const T evaluationPointY,
const T evaluationPointZ
) @safe;
Rotations are in arc-seconds, scale difference is in ppm, and all
translations and evaluation-point coordinates use the source XYZ
length unit. Use tryFromArcSecondsAndPpm for checked construction.
Example
Example constructing EPSG-style Position Vector parameters.
import geodesy;
const transform =
PositionVectorMolodenskyBadekas!double .fromArcSecondsAndPpm(
1.0, 2.0, 3.0,
0.1, 0.2, 0.3,
0.4,
4.0, 5.0, 6.0);
assert(transform .evaluationPointX == 4.0);