public function withinCircleSpherical($field, $longitude, $latitude, $radiusInRadians)
    {
        $this->where($field, array(
            '$geoWithin' => array(
                '$centerSphere' => array(
                    array($longitude, $latitude),
                    $radiusInRadians,
                ),
            ),
        ));

        return $this;
    }
public function withinCircleSpherical($field, $longitude, $latitude, $radiusInRadians)
    {
        $this->where($field, array(
            '$geoWithin' => array(
                '$centerSphere' => array(
                    array($longitude, $latitude),
                    $radiusInRadians,
                ),
            ),
        ));

        return $this;
    }
public function withinCircleSpherical ( $ field , $ longitude , $ latitude , $ radiusInRadians ) { $ this -> where ( $ field , array ( '$geoWithin' => array ( '$centerSphere' => array ( array ( $ longitude , $ latitude ) , $ radiusInRadians , ) , ) , ) ) ; return $ this ; }
Select documents with geospatial data within circle defined
by center point and radius in spherical surface

To calculate distance in radians
@see http://docs.mongodb.org/manual/tutorial/calculate-distances-using-spherical-geometry-with-2d-geospatial-indexes/

@param string $field
@param float $longitude
@param float $latitude
@param float $radiusInRadians in radians.
@return Expression
Select documents with geospatial data within circle defined by center point and radius in spherical surface