PHP Class Location\Distance\Vincenty

See also: http://www.movable-type.co.uk/scripts/latlong-vincenty.html
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