Set the radius in meters.

@param int $meters

@return self
322618
public function radius($meters)
    {
        Assertion::integer($meters);
        Assertion::range($meters, 1, 100000);

        $this->radius = $meters;

        return $this;
    }
397939
public function setMin($min)
  {
    if (!is_numeric($min))
    {
      $min = null;
    }
    $this->min = $min;

    return $this;
  }
359347
public function setMin(?string $min) : self
    {
        if ($min !== null) {
            $min = Decimal::parse($min);
        }

        $this->min = $min;

        return $this;
    }
45034
public function setCoordinate(Coordinate $coordinate): self
    {
        $this->options['coordX'] = $coordinate->getLatitude();
        $this->options['coordY'] = $coordinate->getLongitude();

        return $this;
    }
131968
def within(self, lat, lon, radius):
		'''
		
		'''
		self._geo = { "$circle": { 
						"$center": [
							factual.common.shared_filter_helpers.GeoScalar(lat), 
							factual.common.shared_filter_helpers.GeoScalar(lon), 
							], 
						"$meters": radius 
						}
					}
		return self
988749
public function setPrefix(int $prefix) : self
    {
        $this->prefix = $prefix;

        if ($this instanceof ConsoleOutput) {
            $this->getErrorOutput()->setPrefix($prefix);
        }

        return $this;
    }
581131
public function setMinute($minute)
 	{
		if(! in_array($minute, range(0, 59))) {
			throw new InvalidArgumentException('Minute must be between 0 and 59');
		}
 		$this->minute = $minute;
        return $this;
 	}
1100401
public function setCircularReferenceHandler(callable $circularReferenceHandler): self
    {
        $this->container['circular_reference_handler'] = $this->container->protect($circularReferenceHandler);

        return $this;
    }
982625
public function setLongitude(float $longitude): self
    {
        $this->_longitude = $longitude;
        $this->_locationType = self::LOCATION_TYPE_LATLON;

        return $this;
    }
568384
public function setMeasure(\Core\Entity\Measure $measure = null)
    {
        $this->measure = $measure;

        return $this;
    }
676117
public function setRegion($region)
	{
		if ( ! $region instanceof Region)
		{
			$region = new Region($region);
		}
		$this->region = $region;

		return $this;
	}
1142687
public function setLocation($location): self
    {
        // Location
        if (\is_array($location)) { // Latitude/Longitude
            // Latitude
            if (isset($location['lat'])) {
                $this->setLatitude($location['lat']);
            } else {
                throw new InvalidException('$location[\'lat\'] has to be set');
            }

            // Longitude
            if (isset($location['lon'])) {
                $this->setLongitude($location['lon']);
            } else {
                throw new InvalidException('$location[\'lon\'] has to be set');
            }
        } elseif (\is_string($location)) { // Geohash
            $this->setGeohash($location);
        } else { // Invalid location
            throw new InvalidException('$location has to be an array (latitude/longitude) or a string (geohash)');
        }

        return $this;
    }
916229
public function withSRID(int $srid) : Geometry
    {
        if ($srid === $this->SRID()) {
            return $this;
        }

        $that = clone $this;
        $that->coordinateSystem = $that->coordinateSystem->withSRID($srid);

        return $that;
    }
1051992
public function geoWithinCenterSphere(float $x, float $y, float $radius) : self
    {
        $this->query->geoWithinCenterSphere($x, $y, $radius);

        return $this;
    }
228622
public final function rotateSquare() : Size
   {

      $this->triggerFixedErrorByNeed( 'rotateSquare' );

      $tmp          = $this->_width;
      $this->_width  = $this->_height;
      $this->_height = $tmp;

      return $this;

   }
1214519
public function setTerms(string $key, array $terms): self
    {
        $this->_key = $key;
        $this->_terms = \array_values($terms);

        return $this;
    }
151184
public function setRange($range)
    {
        $allowed_values = array('station', 'region', 'solarsystem', '1', '2', '3', '4', '5', '10', '20', '30', '40');
        if ((!in_array($range, $allowed_values))) {
            throw new \InvalidArgumentException("Invalid value for 'range', must be one of 'station', 'region', 'solarsystem', '1', '2', '3', '4', '5', '10', '20', '30', '40'");
        }
        $this->container['range'] = $range;

        return $this;
    }