Doctrine\MongoDB\Aggregation\Stage\Match::geoWithinPolygon PHP Метод

geoWithinPolygon() публичный Метод

Point coordinates are in x, y order (easting, northing for projected coordinates, longitude, latitude for geographic coordinates). The last point coordinate is implicitly connected with the first. Note: the $polygon operator only supports legacy coordinate pairs and 2d indexes. This cannot be used with 2dsphere indexes and GeoJSON shapes.
См. также: Expr::geoWithinPolygon()
См. также: http://docs.mongodb.org/manual/reference/operator/polygon/
public geoWithinPolygon ( )
    public function geoWithinPolygon()
    {
        $this->query->geoWithinPolygon(...func_get_args());
        return $this;
    }