Table of Contents

Class SpatialContains

Namespace
YndigoBlue.Velocity.Functions
Assembly
YndigoBlue.Velocity.dll

Represents the ST_Contains spatial predicate that tests if one geometry completely contains another.

public class SpatialContains : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
Inheritance
SpatialContains
Implements

Remarks

The ST_Contains function returns true if geometry A completely contains geometry B (B is completely inside A with no points on the boundary or exterior of A). This is the inverse of ST_Within. Useful for point-in-polygon tests, containment queries, and spatial indexing. For Geography types, operates on spherical earth model. OGC-compliant.

Constructors

SpatialContains(Geometry, Column)

Initializes a new instance of ST_Contains with a Geometry literal and column.

SpatialContains(Column, Geometry)

Initializes a new instance of ST_Contains with a column and Geometry literal.

SpatialContains(Column, Geography)

Initializes a new instance of ST_Contains with a column and Geography literal.

SpatialContains(Geography, Column)

Initializes a new instance of ST_Contains with a Geography literal and column.