Package org.hibernate.spatial
Interface SpatialRelation
-
public interface SpatialRelation
Enumerates the supported spatial relations.Most of these relations are defined in "OpenGIS Simple Features Specification for SQL, rev. 1.1 (OGC 99-049), section 2.1.13.3. "
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONTAINS
The first geometry spatially contains the secondstatic int
CROSSES
The geometries crossstatic int
DISJOINT
The geometries are spatially dijointstatic int
EQUALS
The geometries are spatially equal to each other.static int
FILTER
The bounding box of the first geometry intersects the bounding box of the secondstatic int
INTERSECTS
The first geometry intersects the secondstatic int
OVERLAPS
The geometries spatially overlapstatic int
TOUCHES
The geometries touchstatic int
WITHIN
The first geometry is spatially within the second
-
-
-
Field Detail
-
EQUALS
static final int EQUALS
The geometries are spatially equal to each other.- See Also:
- Constant Field Values
-
DISJOINT
static final int DISJOINT
The geometries are spatially dijoint- See Also:
- Constant Field Values
-
TOUCHES
static final int TOUCHES
The geometries touch- See Also:
- Constant Field Values
-
CROSSES
static final int CROSSES
The geometries cross- See Also:
- Constant Field Values
-
WITHIN
static final int WITHIN
The first geometry is spatially within the second- See Also:
- Constant Field Values
-
OVERLAPS
static final int OVERLAPS
The geometries spatially overlap- See Also:
- Constant Field Values
-
CONTAINS
static final int CONTAINS
The first geometry spatially contains the second- See Also:
- Constant Field Values
-
INTERSECTS
static final int INTERSECTS
The first geometry intersects the second- See Also:
- Constant Field Values
-
FILTER
static final int FILTER
The bounding box of the first geometry intersects the bounding box of the secondThis relation is not defined in OGC 99-049, it corresponds to the Postgis '&&' operator.
- See Also:
- Constant Field Values
-
-