Function applyPositionVectorHelmert
Apply EPSG method 1033 Position Vector in the source-to-target direction.
GeocentricCoordinate!T applyPositionVectorHelmert(T)(
const GeocentricCoordinate!T source,
const Helmert7!(T,HelmertConvention.positionVector) transform
) @safe
if (isGeodesyScalar!T);
Parameters
| Name | Description |
|---|---|
| source | Source geocentric coordinate. |
| transform | Position Vector parameters with translations in the same linear unit. |
Returns
The target geocentric coordinate.
Throws
GeodesyValueException when transformation arithmetic cannot produce
a finite representable target.
Example
Example applying an EPSG 1033 Position Vector transform.
import geodesy;
const source = GeocentricCoordinate!double .fromComponents(1.0, 2.0, 3.0);
const target = applyPositionVectorHelmert(
source, PositionVectorHelmert!double .init);
assert(target == source);