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.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax public enum GeoShapeRelation
Public Enumeration GeoShapeRelation
Members
| Member name | Value | Description |
---|
| Contains | 0 |
Indicates that the indexed geometry contains the query geometry.
|
| Disjoint | 1 |
Indicates that both the query and indexed geometries have nothing in common.
|
| Intersects | 2 |
Indicates that both the query and indexed geometries intersect.
|
| Within | 3 |
Indicates that the indexed geometry is within the query geometry.
|
See Also