Class SpatialDisjoint
- Namespace
- YndigoBlue.Velocity.Functions
- Assembly
- YndigoBlue.Velocity.dll
Represents the ST_Disjoint spatial predicate function that tests if two geometries have no points in common.
public class SpatialDisjoint : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
- Inheritance
-
SpatialDisjoint
- Implements
Remarks
Warning
Spatial functions are not available in the Community Edition of Velocity. They require the Full Edition.
The ST_Disjoint function returns true if the two spatial objects have no point in common (their interiors and boundaries do not intersect). This is the inverse of ST_Intersects. According to the DE-9IM model, two geometries are disjoint if their intersection is empty. Useful for spatial queries that need to find objects that are completely separate from each other. OGC-compliant.
Return Type: Boolean (true/false).
Note: ST_Disjoint(A, B) = NOT ST_Intersects(A, B)
| Relationship | ST_Disjoint Result |
|---|---|
| Completely separate | TRUE |
| Point outside polygon | TRUE |
| Touching boundaries | FALSE |
| Overlapping | FALSE |
Constructors
- SpatialDisjoint(Geometry, Column)
Initializes a new instance of ST_Disjoint with a geometry literal and column.
- SpatialDisjoint(Geometry, Function)
Initializes a new instance of ST_Disjoint with a Geometry literal and function result for function chaining.
- SpatialDisjoint(Column, Geometry)
Initializes a new instance of ST_Disjoint with a column and geometry literal.
- SpatialDisjoint(Column, Column)
Initializes a new instance of ST_Disjoint with two columns for spatial joins.
- SpatialDisjoint(Column, Function)
Initializes a new instance of ST_Disjoint with a column and function result for function chaining.
- SpatialDisjoint(Column, Geography)
Initializes a new instance of ST_Disjoint with a column and geography literal.
- SpatialDisjoint(Function, Geometry)
Initializes a new instance of ST_Disjoint with a function result and Geometry literal for function chaining.
- SpatialDisjoint(Function, Column)
Initializes a new instance of ST_Disjoint with a function result and column for function chaining.
- SpatialDisjoint(Function, Function)
Initializes a new instance of ST_Disjoint with two function results for function chaining.
- SpatialDisjoint(Function, Geography)
Initializes a new instance of ST_Disjoint with a function result and Geography literal for function chaining.
- SpatialDisjoint(Geography, Column)
Initializes a new instance of ST_Disjoint with a geography literal and column.
- SpatialDisjoint(Geography, Function)
Initializes a new instance of ST_Disjoint with a Geography literal and function result for function chaining.