PHP Class Location\Distance\Haversine

See also: http://en.wikipedia.org/wiki/Law_of_haversines
Author: Marcus Jaschen ([email protected])
Inheritance: implements Location\Distance\DistanceInterface
Afficher le fichier Open project: mjaschen/phpgeo Class Usage Examples

Méthodes publiques

Méthode Description
getDistance ( Coordinate $point1, Coordinate $point2 ) : float

Method Details

getDistance() public méthode

public getDistance ( Coordinate $point1, Coordinate $point2 ) : float
$point1 Location\Coordinate
$point2 Location\Coordinate
Résultat float