FilterDefinitionBuilderTDocumentGeoIntersectsTCoordinates Method (FieldDefinitionTDocument, GeoJsonGeometryTCoordinates) |
Creates a geo intersects filter.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax public FilterDefinition<TDocument> GeoIntersects<TCoordinates>(
FieldDefinition<TDocument> field,
GeoJsonGeometry<TCoordinates> geometry
)
where TCoordinates : GeoJsonCoordinates
Public Function GeoIntersects(Of TCoordinates As GeoJsonCoordinates) (
field As FieldDefinition(Of TDocument),
geometry As GeoJsonGeometry(Of TCoordinates)
) As FilterDefinition(Of TDocument)
member GeoIntersects :
field : FieldDefinition<'TDocument> *
geometry : GeoJsonGeometry<'TCoordinates> -> FilterDefinition<'TDocument> when 'TCoordinates : GeoJsonCoordinates
Parameters
- field
- Type: MongoDB.DriverFieldDefinitionTDocument
The field. - geometry
- Type: MongoDB.Driver.GeoJsonObjectModelGeoJsonGeometryTCoordinates
The geometry.
Type Parameters
- TCoordinates
- The type of the coordinates.
Return Value
Type:
FilterDefinitionTDocumentA geo intersects filter.
See Also