Point.php
public function getDistance(Point $point, DistanceInterface $calculator = null)
    {
        $calculator = $calculator ? : static::getCalculator();

        return $calculator->getDistance(
            new Coordinate($this->latitude, $this->longitude),
            new Coordinate($point->latitude, $point->longitude)
        );
    }
public function getDistance(Point $point, DistanceInterface $calculator = null)
    {
        $calculator = $calculator ? : static::getCalculator();

        return $calculator->getDistance(
            new Coordinate($this->latitude, $this->longitude),
            new Coordinate($point->latitude, $point->longitude)
        );
    }
Returns distance between points in meters

@param Point $point
@param DistanceInterface $calculator

@return float