code: 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)
          );
      }
docs: Returns distance between points in meters
  
  @param Point $point
  @param DistanceInterface $calculator
  
  @return float