Click or drag to resize

GeoShapeRelation Enumeration

The relation of the query shape geometry to the indexed field geometry in a geo shape search definition.

Namespace:  MongoDB.Driver.Search
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
public enum GeoShapeRelation
Members
  Member nameValueDescription
Contains0 Indicates that the indexed geometry contains the query geometry.
Disjoint1 Indicates that both the query and indexed geometries have nothing in common.
Intersects2 Indicates that both the query and indexed geometries intersect.
Within3 Indicates that the indexed geometry is within the query geometry.
See Also