Location\Bearing\BearingInterface::calculateDestination PHP Méthode

calculateDestination() public méthode

Calculates a destination point for the given point, bearing angle, and distance.
public calculateDestination ( Coordinate $point, float $bearing, float $distance ) : Coordinate
$point Location\Coordinate
$bearing float the bearing angle between 0 and 360 degrees
$distance float the distance to the destination point in meters
Résultat Location\Coordinate
    public function calculateDestination(Coordinate $point, $bearing, $distance);