Function MolodenskyBadekas10.fromCanonical
Prepare a local-pivot transform from seven parameters and an XYZ pivot.
static MolodenskyBadekas10!(T,convention) fromCanonical(
const Helmert7!(T,convention) baseParameters,
const T evaluationPointX,
const T evaluationPointY,
const T evaluationPointZ
) @safe;
Use the checked tryFromCanonical alternative when an invalid
pivot or non-representable derived transform should not throw.
Example
Example constructing canonical Position Vector parameters.
import geodesy;
const transform = PositionVectorMolodenskyBadekas!double .fromCanonical(
PositionVectorHelmert!double .init,
1.0, 2.0, 3.0);
assert(transform .evaluationPointZ == 3.0);