src/Line.php
public function getBearing(BearingInterface $bearingCalculator): float
    {
        return $bearingCalculator->calculateBearing($this->point1, $this->point2);
    }
public function getBearing(BearingInterface $bearingCalculator): float
    {
        return $bearingCalculator->calculateBearing($this->point1, $this->point2);
    }
public function getBearing ( BearingInterface $ bearingCalculator ) : float { return $ bearingCalculator -> calculateBearing ( $ this -> point1 , $ this -> point2 ) ; }
@param BearingInterface $bearingCalculator

@return float
@param BearingInterface $bearingCalculator