Table of Contents

Class SpatialWithin

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

Represents the ST_Within spatial predicate function that tests if one geometry is completely inside another.

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

Remarks

The ST_Within function returns true if the first spatial object is completely inside the second object, with no points outside and no boundary points in common. This is the inverse of ST_Contains. According to the DE-9IM model, geometry A is within geometry B if all points of A are in the interior or boundary of B, and the interior of A has no points outside B. Useful for finding features contained within boundaries, like points within polygons or parcels within districts. OGC-compliant.

Constructors

SpatialWithin(Geometry, Column)

Initializes a new instance of ST_Within with a geometry literal and column.

SpatialWithin(Column, Geometry)

Initializes a new instance of ST_Within with a column and geometry literal.

SpatialWithin(Column, Geography)

Initializes a new instance of ST_Within with a column and geography literal.

SpatialWithin(Geography, Column)

Initializes a new instance of ST_Within with a geography literal and column.