public function calculateFinalBearing(Coordinate $point1, Coordinate $point2): float
    {
        $initialBearing = $this->calculateBearing($point2, $point1);

        return fmod($initialBearing + 180, 360);
    }