Package org.hibernate.spatial
Interface SpatialRelation
@Deprecatedpublic interfaceSpatialRelation
Deprecated.Will be removed in 6Enumerates 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 intCONTAINSDeprecated.The first geometry spatially contains the secondstatic intCROSSESDeprecated.The geometries crossstatic intDISJOINTDeprecated.The geometries are spatially dijointstatic intEQUALSDeprecated.The geometries are spatially equal to each other.static intFILTERDeprecated.The bounding box of the first geometry intersects the bounding box of the secondstatic intINTERSECTSDeprecated.The first geometry intersects the secondstatic intOVERLAPSDeprecated.The geometries spatially overlapstatic intTOUCHESDeprecated.The geometries touchstatic intWITHINDeprecated.The first geometry is spatially within the second
Field Detail
EQUALS
static final int EQUALS
Deprecated.The geometries are spatially equal to each other.- See Also:
- Constant Field Values
DISJOINT
static final int DISJOINT
Deprecated.The geometries are spatially dijoint- See Also:
- Constant Field Values
TOUCHES
static final int TOUCHES
Deprecated.The geometries touch- See Also:
- Constant Field Values
CROSSES
static final int CROSSES
Deprecated.The geometries cross- See Also:
- Constant Field Values
WITHIN
static final int WITHIN
Deprecated.The first geometry is spatially within the second- See Also:
- Constant Field Values
OVERLAPS
static final int OVERLAPS
Deprecated.The geometries spatially overlap- See Also:
- Constant Field Values
CONTAINS
static final int CONTAINS
Deprecated.The first geometry spatially contains the second- See Also:
- Constant Field Values
INTERSECTS
static final int INTERSECTS
Deprecated.The first geometry intersects the second- See Also:
- Constant Field Values
FILTER
static final int FILTER
Deprecated.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