Method GeoWithinPolygon
GeoWithinPolygon(FieldDefinition<TDocument>, double[,])
Creates a geo within polygon filter.
public FilterDefinition<TDocument> GeoWithinPolygon(FieldDefinition<TDocument> field, double[,] points)
Parameters
fieldFieldDefinition<TDocument>The field.
pointsdouble[,]The points.
Returns
- FilterDefinition<TDocument>
A geo within polygon filter.
GeoWithinPolygon(Expression<Func<TDocument, object>>, double[,])
Creates a geo within polygon filter.
public FilterDefinition<TDocument> GeoWithinPolygon(Expression<Func<TDocument, object>> field, double[,] points)
Parameters
fieldExpression<Func<TDocument, object>>The field.
pointsdouble[,]The points.
Returns
- FilterDefinition<TDocument>
A geo within polygon filter.