Uses of Class
org.locationtech.spatial4j.shape.SpatialRelation
-
Packages that use SpatialRelation Package Description org.apache.lucene.spatial.prefix.tree org.locationtech.spatial4j.shape org.locationtech.spatial4j.shape.impl org.locationtech.spatial4j.shape.jts -
-
Uses of SpatialRelation in org.apache.lucene.spatial.prefix.tree
Fields in org.apache.lucene.spatial.prefix.tree declared as SpatialRelation Modifier and Type Field Description protected SpatialRelationLegacyCell. shapeRelWhen set via getSubCells(filter), it is the relationship between this cell and the given shape filter.Methods in org.apache.lucene.spatial.prefix.tree that return SpatialRelation Modifier and Type Method Description SpatialRelationCell. getShapeRel()Gets the relationship this cell has with the shape from which it was filtered from, assuming it came from aCellIterator.SpatialRelationLegacyCell. getShapeRel()Methods in org.apache.lucene.spatial.prefix.tree with parameters of type SpatialRelation Modifier and Type Method Description voidCell. setShapeRel(SpatialRelation rel)SeeCell.getShapeRel().voidLegacyCell. setShapeRel(SpatialRelation rel) -
Uses of SpatialRelation in org.locationtech.spatial4j.shape
Methods in org.locationtech.spatial4j.shape that return SpatialRelation Modifier and Type Method Description SpatialRelationSpatialRelation. 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.SpatialRelationSpatialRelation. 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.SpatialRelationShape. relate(Shape other)Describe the relationship between the two objects.SpatialRelationShapeCollection. relate(Shape other)SpatialRelationRectangle. relateXRange(double minX, double maxX)A specialization ofShape.relate(Shape)for a horizontal line.SpatialRelationRectangle. relateYRange(double minY, double maxY)A specialization ofShape.relate(Shape)for a vertical line.SpatialRelationSpatialRelation. transpose()Given the result ofshapeA.relate(shapeB), transposing that result should yield the result ofshapeB.relate(shapeA).static SpatialRelationSpatialRelation. valueOf(String name)Returns 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 SpatialRelation Modifier and Type Method Description SpatialRelationSpatialRelation. 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 SpatialRelation Modifier and Type Method Description SpatialRelationBufferedLine. relate(Rectangle r)SpatialRelationBufferedLine. relate(Shape other)SpatialRelationBufferedLineString. relate(Shape other)SpatialRelationCircleImpl. relate(Circle circle)SpatialRelationCircleImpl. relate(Point point)SpatialRelationCircleImpl. relate(Rectangle r)SpatialRelationCircleImpl. relate(Shape other)SpatialRelationPointImpl. relate(Shape other)SpatialRelationRectangleImpl. relate(Point point)SpatialRelationRectangleImpl. relate(Rectangle rect)SpatialRelationRectangleImpl. relate(Shape other)protected SpatialRelationCircleImpl. relateRectanglePhase2(Rectangle r, SpatialRelation bboxSect)protected SpatialRelationGeoCircle. relateRectanglePhase2(Rectangle r, SpatialRelation bboxSect)Called after bounding box is intersected.SpatialRelationRectangleImpl. relateXRange(double ext_minX, double ext_maxX)SpatialRelationRectangleImpl. relateYRange(double ext_minY, double ext_maxY)Methods in org.locationtech.spatial4j.shape.impl with parameters of type SpatialRelation Modifier and Type Method Description protected 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 SpatialRelation Modifier and Type Method Description static SpatialRelationJtsGeometry. intersectionMatrixToSpatialRelation(IntersectionMatrix matrix)protected SpatialRelationJtsGeometry. relate(Geometry oGeom)SpatialRelationJtsGeometry. relate(Circle circle)SpatialRelationJtsGeometry. relate(JtsGeometry jtsGeometry)SpatialRelationJtsGeometry. relate(Point pt)SpatialRelationJtsGeometry. relate(Rectangle rectangle)SpatialRelationJtsGeometry. relate(Shape other)SpatialRelationJtsPoint. relate(Shape other)
-