Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Location
Distance
Haversine
PHP Class Location\Distance\Haversine
See also:
http://en.wikipedia.org/wiki/Law_of_haversines
See link:
https://github.com/mjaschen/phpgeo
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