Location\Bearing\BearingEllipsoidal::calculateDestination PHP Method

calculateDestination() public method

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
return Location\Coordinate
    public function calculateDestination(Coordinate $point, $bearing, $distance)
    {
        return $this->directVincenty($point, $bearing, $distance)['destination'];
    }