Vertical points

Height <=> Depth reversal

$point = VerticalPoint::create(...);
$newPoint = $point->heightDepthReversal(
    Vertical $to
); // returns a new VerticalPoint

Offset

$point = VerticalPoint::create(...);
$newPoint = $point->offset(
    Vertical $to,
    Length $verticalOffset
); // returns a new VerticalPoint

Offset and Slope

$point = VerticalPoint::create(...);
$newPoint = $point->offsetAndSlope(
    Vertical $to,
    Angle $ordinate1OfEvaluationPoint,
    Angle $ordinate2OfEvaluationPoint,
    Length $verticalOffset,
    Angle $inclinationInLatitude,
    Angle $inclinationInLongitude,
    GeographicPoint $horizontalPoint
); // returns a new VerticalPoint

Offset From Grid File

$point = VerticalPoint::create(...);
$newPoint = $point->offsetFromGrid(
    Vertical $to,
    GeographicGeoidHeightGrid $offsetsFile,
    bool $inReverse,
    GeographicPoint $horizontalPoint
); // returns a new VerticalPoint

Zero-tide height to mean-tide height (EVRF2019)

$point = VerticalPoint::create(...);
$newPoint = $point->zeroTideHeightToMeanTideHeightEVRF2019(
    Vertical $to,
    bool $inReverse,
    GeographicPoint $horizontalPoint
); // returns a new VerticalPoint