Uses of Enum
org.locationtech.spatial4j.shape.SpatialRelation
Packages that use SpatialRelation
Package
Description
Shapes are the core geometry objects that Spatial4j provides.
-
Uses of SpatialRelation in org.locationtech.spatial4j.shape
Subclasses with type arguments of type SpatialRelation in org.locationtech.spatial4j.shapeMethods in org.locationtech.spatial4j.shape that return SpatialRelationModifier and TypeMethodDescriptionSpatialRelation.combine(SpatialRelation other) If you were to call aShape.relate(bShape) and aShape.relate(cShape), you could call this to merge the intersect results as if bShape & cShape were combined intoShapeCollection.SpatialRelation.inverse()IfaShape.relate(bShape)is r, thenr.inverse()isinverse(aShape).relate(bShape)whereasinverse(shape)is theoretically the opposite area covered by a shape, i.e.Describe the relationship between the two objects.Rectangle.relateXRange(double minX, double maxX) A specialization ofShape.relate(Shape)for a horizontal line.Rectangle.relateYRange(double minY, double maxY) A specialization ofShape.relate(Shape)for a vertical line.SpatialRelation.transpose()Given the result ofshapeA.relate(shapeB), transposing that result should yield the result ofshapeB.relate(shapeA).static SpatialRelationReturns the enum constant of this type with the specified name.static SpatialRelation[]SpatialRelation.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.locationtech.spatial4j.shape with parameters of type SpatialRelationModifier and TypeMethodDescriptionSpatialRelation.combine(SpatialRelation other) If you were to call aShape.relate(bShape) and aShape.relate(cShape), you could call this to merge the intersect results as if bShape & cShape were combined intoShapeCollection. -
Uses of SpatialRelation in org.locationtech.spatial4j.shape.impl
Methods in org.locationtech.spatial4j.shape.impl that return SpatialRelationModifier and TypeMethodDescription(package private) SpatialRelationprivate static SpatialRelationRectangleImpl.relate_range(double int_min, double int_max, double ext_min, double ext_max) private SpatialRelationGeoCircle.relateRectangleCircleWrapsPole(Rectangle r, SpatialContext ctx) protected SpatialRelationCircleImpl.relateRectanglePhase2(Rectangle r, SpatialRelation bboxSect) protected SpatialRelationGeoCircle.relateRectanglePhase2(Rectangle r, SpatialRelation bboxSect) Called after bounding box is intersected.RectangleImpl.relateXRange(double ext_minX, double ext_maxX) RectangleImpl.relateYRange(double ext_minY, double ext_maxY) Methods in org.locationtech.spatial4j.shape.impl with parameters of type SpatialRelationModifier and TypeMethodDescriptionprotected SpatialRelationCircleImpl.relateRectanglePhase2(Rectangle r, SpatialRelation bboxSect) protected SpatialRelationGeoCircle.relateRectanglePhase2(Rectangle r, SpatialRelation bboxSect) Called after bounding box is intersected. -
Uses of SpatialRelation in org.locationtech.spatial4j.shape.jts
Methods in org.locationtech.spatial4j.shape.jts that return SpatialRelationModifier and TypeMethodDescriptionstatic SpatialRelationJtsGeometry.intersectionMatrixToSpatialRelation(org.locationtech.jts.geom.IntersectionMatrix matrix) protected SpatialRelationJtsGeometry.relate(org.locationtech.jts.geom.Geometry oGeom) JtsGeometry.relate(JtsGeometry jtsGeometry)