Calculate the distance between two points. Defaults to Vincenty if
no calculator is supplied. If no unit converter is supplied then the
formula will return a value in metres.
public get ( Treffynnon\Navigator\Distance\Calculator\CalculatorInterface $calculator = null, Treffynnon\Navigator\Distance\Converter\ConverterInterface $unit_converter = null ) : float | ||
$calculator | Treffynnon\Navigator\Distance\Calculator\CalculatorInterface | |
$unit_converter | Treffynnon\Navigator\Distance\Converter\ConverterInterface | |
Résultat | float |