Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Location
Distance
Vincenty
PHP Class Location\Distance\Vincenty
See also:
http://www.movable-type.co.uk/scripts/latlong-vincenty.html
See link:
https://github.com/mjaschen/phpgeo
Author:
Marcus Jaschen (
[email protected]
)
Inheritance:
implements
Location\Distance\DistanceInterface
显示文件
Open project: mjaschen/phpgeo
Class Usage Examples
Public Methods
Method
Description
getDistance
(
Coordinate
$point1
,
Coordinate
$point2
) :
float
Method Details
getDistance()
public
method
public
getDistance
(
Coordinate
$point1
,
Coordinate
$point2
) :
float
$point1
Location\Coordinate
$point2
Location\Coordinate
return
float