Compound points

Geographic2D with Height Offsets

$point = CompoundPoint::create(...);
$newPoint = $point->geographic2DWithHeightOffsets(
    Geographic3D $to,
    Angle $latitudeOffset,
    Angle $longitudeOffset,
    Length $geoidUndulation
); // returns a new GeographicPoint

Geographic3D to Geographic2D+GravityRelatedHeight From Grid (geographic)

$point = CompoundPoint::create(...);
$newPoint = $point->geographic3DTo2DPlusGravityHeightFromGrid(
    Geographic3D $to,
    GeographicGeoidHeightGrid $geoidHeightCorrectionModelFile
); // returns a new GeographicPoint

Geographic3D to Geographic2D+GravityRelatedHeight (OSGM-GB)

$point = CompoundPoint::create(...);
$newPoint = $point->geographic3DTo2DPlusGravityHeightOSGM15(
    Geographic3D $to,
    OSTNOSGM15Grid $geoidHeightCorrectionModelFile
); // returns a new GeographicPoint