Class SpatialCovers
- Namespace
- YndigoBlue.Velocity.Functions
- Assembly
- YndigoBlue.Velocity.dll
Represents the ST_Covers spatial predicate function that tests if one geometry completely covers another.
public class SpatialCovers : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
- Inheritance
-
SpatialCovers
- Implements
Remarks
The ST_Covers function returns true if every point of geometry B is a point of geometry A (interior or boundary). This is similar to ST_Contains but less strict regarding boundaries - a geometry covers another if no point of the second geometry lies outside the first. According to the DE-9IM model, this is useful for cases where boundary touching is acceptable. The inverse operation is ST_CoveredBy. Commonly used for containment queries where exact interior containment is not required. OGC-compliant.
Constructors
- SpatialCovers(Geometry, Column)
Initializes a new instance of ST_Covers with a geometry literal and column.
- SpatialCovers(Column, Geometry)
Initializes a new instance of ST_Covers with a column and geometry literal.
- SpatialCovers(Column, Geography)
Initializes a new instance of ST_Covers with a column and geography literal.
- SpatialCovers(Geography, Column)
Initializes a new instance of ST_Covers with a geography literal and column.