Method Within
Within<TCoordinates>(string, GeoJsonPolygon<TCoordinates>)
Tests that the value of the named element is within the specified geometry (see $within).
public static IMongoQuery Within<TCoordinates>(string name, GeoJsonPolygon<TCoordinates> polygon) where TCoordinates : GeoJsonCoordinates
Parameters
name
stringThe name of the element to test.
polygon
GeoJsonPolygon<TCoordinates>The polygon.
Returns
- IMongoQuery
An IMongoQuery.
Type Parameters
TCoordinates
The type of the coordinates.