QueryType¶
Namespace: ThinkGeo.Core
This enumeration specifies the ways you can execute a spatial query against a FeatureSource.
public enum QueryType
Inheritance Object → ValueType → Enum → QueryType
Implements IComparable, IFormattable, IConvertible
Remarks:
This enumeration is used on the FeatureSource for the SpatialQuery method and reflects all the ways you can compare geometries.
Fields¶
| Name | Value | Description |
|---|---|---|
| Disjoint | 0 | The current shape and the targetShape have no points in common. |
| Intersects | 1 | The current shape and the targetShape have at least one point in common. |
| Touches | 2 | The current shape and the targetShape have at least one boundary point in common, |
| but no interior points. | ||
| Crosses | 3 | The current shape and the targetShape share some but not all interior |
| points. | ||
| Within | 4 | The current shape lies within the interior of the targetShape. |
| Contains | 5 | The targetShape lies within the interior of the current shape. |
| Overlaps | 6 | The current shape and the targetShape share some but not all points in |
| common. | ||
| TopologicalEqual | 7 | The current shape and the target Shape are topologically equal. |