withinCenter() 공개 메소드

Add $within criteria with a $center shape to the expression.
또한 보기: Expr::geoWithinCenter()
또한 보기: http://docs.mongodb.org/manual/reference/operator/center/
사용 중단: 1.1 MongoDB 2.4 deprecated $within in favor of $geoWithin
public withinCenter ( float $x, float $y, float $radius )
$x float
$y float
$radius float
예제 #1
0
 /**
  * Add $within criteria with a $center shape to the query.
  *
  * @deprecated 1.1 MongoDB 2.4 deprecated $within in favor of $geoWithin
  * @see Builder::geoWithinCenter()
  * @see Expr::withinCenter()
  * @see http://docs.mongodb.org/manual/reference/operator/center/
  * @param float $x
  * @param float $y
  * @param float $radius
  * @return self
  */
 public function withinCenter($x, $y, $radius)
 {
     $this->expr->withinCenter($x, $y, $radius);
     return $this;
 }