Uses of Class
org.locationtech.spatial4j.shape.SpatialRelation
-
Packages that use SpatialRelation Package Description org.locationtech.spatial4j.shape Shapes are the core geometry objects that Spatial4j provides.org.locationtech.spatial4j.shape.impl org.locationtech.spatial4j.shape.jts -
-
Uses of SpatialRelation in org.locationtech.spatial4j.shape
Methods in org.locationtech.spatial4j.shape that return SpatialRelation Modifier and Type Method Description SpatialRelation
SpatialRelation. 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
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.SpatialRelation
Shape. relate(Shape other)
Describe the relationship between the two objects.SpatialRelation
ShapeCollection. relate(Shape other)
SpatialRelation
Rectangle. relateXRange(double minX, double maxX)
A specialization ofShape.relate(Shape)
for a horizontal line.SpatialRelation
Rectangle. relateYRange(double minY, double maxY)
A specialization ofShape.relate(Shape)
for a vertical line.SpatialRelation
SpatialRelation. transpose()
Given the result ofshapeA.relate(shapeB)
, transposing that result should yield the result ofshapeB.relate(shapeA)
.static SpatialRelation
SpatialRelation. valueOf(java.lang.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 SpatialRelation
SpatialRelation. 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 SpatialRelation
BufferedLine. relate(Rectangle r)
SpatialRelation
BufferedLine. relate(Shape other)
SpatialRelation
BufferedLineString. relate(Shape other)
SpatialRelation
CircleImpl. relate(Circle circle)
SpatialRelation
CircleImpl. relate(Point point)
SpatialRelation
CircleImpl. relate(Rectangle r)
SpatialRelation
CircleImpl. relate(Shape other)
(package private) SpatialRelation
InfBufLine. relate(Rectangle r, Point prC, Point scratch)
SpatialRelation
PointImpl. relate(Shape other)
SpatialRelation
RectangleImpl. relate(Point point)
SpatialRelation
RectangleImpl. relate(Rectangle rect)
SpatialRelation
RectangleImpl. relate(Shape other)
private static SpatialRelation
RectangleImpl. relate_range(double int_min, double int_max, double ext_min, double ext_max)
private SpatialRelation
GeoCircle. relateRectangleCircleWrapsPole(Rectangle r, SpatialContext ctx)
protected SpatialRelation
CircleImpl. relateRectanglePhase2(Rectangle r, SpatialRelation bboxSect)
protected SpatialRelation
GeoCircle. relateRectanglePhase2(Rectangle r, SpatialRelation bboxSect)
Called after bounding box is intersected.SpatialRelation
RectangleImpl. relateXRange(double ext_minX, double ext_maxX)
SpatialRelation
RectangleImpl. 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 SpatialRelation
CircleImpl. relateRectanglePhase2(Rectangle r, SpatialRelation bboxSect)
protected SpatialRelation
GeoCircle. 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 SpatialRelation
JtsGeometry. intersectionMatrixToSpatialRelation(org.locationtech.jts.geom.IntersectionMatrix matrix)
protected SpatialRelation
JtsGeometry. relate(org.locationtech.jts.geom.Geometry oGeom)
SpatialRelation
JtsGeometry. relate(Circle circle)
SpatialRelation
JtsGeometry. relate(JtsGeometry jtsGeometry)
SpatialRelation
JtsGeometry. relate(Point pt)
SpatialRelation
JtsGeometry. relate(Rectangle rectangle)
SpatialRelation
JtsGeometry. relate(Shape other)
SpatialRelation
JtsPoint. relate(Shape other)
-