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
namestringThe name.
geometryGeoJsonGeometry<TCoordinates>The geometry.
Returns
- IMongoQuery
An IMongoQuery.
Type Parameters
TCoordinatesThe type of the coordinates.