Class SpatialIsRing
- Namespace
- YndigoBlue.Velocity.Functions
- Assembly
- YndigoBlue.Velocity.dll
Represents the ST_IsRing spatial validation function that tests whether a linestring is a valid ring.
public class SpatialIsRing : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
- Inheritance
-
SpatialIsRing
- Implements
Remarks
The ST_IsRing function returns true if the linestring is both closed (start and end points are the same) and simple (does not self-intersect). A valid ring is suitable for use as a polygon boundary. For non-linestring geometries, typically returns false. This is a stricter test than ST_IsClosed, which only checks closure. For Geometry types in planar coordinate systems, this is useful for validating polygon rings, topology analysis, or ensuring proper geometry construction before creating polygons. OGC-compliant.
Constructors
- SpatialIsRing(Column)
Initializes a new instance of ST_IsRing with a linestring geometry column.