Struct MolodenskyBadekas10

Ten source-to-target Molodensky-Badekas parameters with rotation convention encoded in the type.

struct MolodenskyBadekas10(T, HelmertConvention convention)
  
if (isGeodesyScalar!T);

The first seven parameters retain the existing Helmert7 semantics. The additional three values are the source-geocentric coordinates of the evaluation point about which rotation and scale are applied.

.init is the identity transformation: Helmert identity parameters and an evaluation point at the geocentric origin.

Properties

NameTypeDescription
baseParameters[get] Helmert7!(T,convention)Original seven convention-specific Helmert-family parameters.
equivalentHelmert[get] Helmert7!(T,convention)Equivalent forward Helmert7 transform.
evaluationPointX[get] TSource-geocentric X ordinate of the evaluation point.
evaluationPointY[get] TSource-geocentric Y ordinate of the evaluation point.
evaluationPointZ[get] TSource-geocentric Z ordinate of the evaluation point.

Methods

NameDescription
apply (source) Convert geocentric XYZ using this prepared local-pivot transform.
fromArcSecondsAndPpm (translationX, translationY, translationZ, rotationXArcSeconds, rotationYArcSeconds, rotationZArcSeconds, scaleDifferencePpm, evaluationPointX, evaluationPointY, evaluationPointZ) Prepare the local-pivot transform from published EPSG-style parameters.
fromCanonical (baseParameters, evaluationPointX, evaluationPointY, evaluationPointZ) Prepare a local-pivot transform from seven parameters and an XYZ pivot.
tryApply (source, result) Convert source geocentric XYZ to target-frame XYZ without throwing.
tryFromArcSecondsAndPpm (translationX, translationY, translationZ, rotationXArcSeconds, rotationYArcSeconds, rotationZArcSeconds, scaleDifferencePpm, evaluationPointX, evaluationPointY, evaluationPointZ, result) Prepare a local-pivot frame transformation from published EPSG units.
tryFromCanonical (baseParameters, evaluationPointX, evaluationPointY, evaluationPointZ, result) Prepare a local-pivot transformation from an existing Helmert7 parameter set.

Example

Example using the generic convention-parameterized family.

import geodesy;
static assert(is(MolodenskyBadekas10!(
    double, HelmertConvention.positionVector)));