Class SpatialCrosses
- Namespace
- YndigoBlue.Velocity.Functions
- Assembly
- YndigoBlue.Velocity.dll
Represents the ST_Crosses spatial predicate function that tests if two geometries cross each other.
public class SpatialCrosses : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
- Inheritance
-
SpatialCrosses
- Implements
Remarks
The ST_Crosses function returns true if the two spatial objects have some, but not all, interior points in common, and the dimension of the intersection is less than the maximum dimension of the two geometries. This typically applies to cases where a line crosses a polygon, or a line crosses another line. According to the DE-9IM model, this represents a specific type of intersection pattern. Useful for finding features that pass through other features, like roads crossing parcels or pipelines crossing boundaries. OGC-compliant.
Constructors
- SpatialCrosses(Geometry, Column)
Initializes a new instance of ST_Crosses with a geometry literal and column.
- SpatialCrosses(Column, Geometry)
Initializes a new instance of ST_Crosses with a column and geometry literal.
- SpatialCrosses(Column, Geography)
Initializes a new instance of ST_Crosses with a column and geography literal.
- SpatialCrosses(Geography, Column)
Initializes a new instance of ST_Crosses with a geography literal and column.