Method GeoIntersects
GeoIntersects<TCoordinates>(string, GeoJsonGeometry<TCoordinates>)
Tests that a location element specified by name intersects with the geometry (see $geoIntersects).
public static IMongoQuery GeoIntersects<TCoordinates>(string name, GeoJsonGeometry<TCoordinates> geometry) where TCoordinates : GeoJsonCoordinates
Parameters
name
stringThe name.
geometry
GeoJsonGeometry<TCoordinates>The geometry.
Returns
- IMongoQuery
An IMongoQuery.
Type Parameters
TCoordinates
The type of the coordinates.