Uses of Class
com.spatial4j.core.shape.SpatialRelation
-
Packages that use SpatialRelation Package Description com.spatial4j.core.shape Shapes are the core geometry objects that Spatial4j provides.com.spatial4j.core.shape.impl com.spatial4j.core.shape.jts -
-
Uses of SpatialRelation in com.spatial4j.core.shape
Methods in com.spatial4j.core.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 com.spatial4j.core.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 com.spatial4j.core.shape.impl
Methods in com.spatial4j.core.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 com.spatial4j.core.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 com.spatial4j.core.shape.jts
Methods in com.spatial4j.core.shape.jts that return SpatialRelation Modifier and Type Method Description static SpatialRelationJtsGeometry. intersectionMatrixToSpatialRelation(com.vividsolutions.jts.geom.IntersectionMatrix matrix)SpatialRelationJtsGeometry. relate(Circle circle)SpatialRelationJtsGeometry. relate(JtsGeometry jtsGeometry)SpatialRelationJtsGeometry. relate(Point pt)SpatialRelationJtsGeometry. relate(Rectangle rectangle)SpatialRelationJtsGeometry. relate(Shape other)protected SpatialRelationJtsGeometry. relate(com.vividsolutions.jts.geom.Geometry oGeom)SpatialRelationJtsPoint. relate(Shape other)
-