This method calculates the initial bearing between the
two points.
public calculateBearing ( |
||
$point1 | ||
$point2 | ||
Результат | float | Bearing Angle |
/** * @param \Location\Bearing\BearingInterface $bearingCalculator * * @return float */ public function getBearing(BearingInterface $bearingCalculator) { return $bearingCalculator->calculateBearing($this->point1, $this->point2); }