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 |
Modifier and Type | Method and 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 into
ShapeCollection . |
SpatialRelation |
SpatialRelation.inverse()
If
aShape.relate(bShape) is r, then r.inverse()
is inverse(aShape).relate(bShape) whereas
inverse(shape) is theoretically the opposite area covered by a
shape, i.e. |
SpatialRelation |
ShapeCollection.relate(Shape other) |
SpatialRelation |
Shape.relate(Shape other)
Describe the relationship between the two objects.
|
SpatialRelation |
Rectangle.relateXRange(double minX,
double maxX)
A specialization of
Shape.relate(Shape)
for a horizontal line. |
SpatialRelation |
Rectangle.relateYRange(double minY,
double maxY)
A specialization of
Shape.relate(Shape)
for a vertical line. |
SpatialRelation |
SpatialRelation.transpose()
Given the result of
shapeA.relate(shapeB) , transposing that
result should yield the result of shapeB.relate(shapeA) . |
static SpatialRelation |
SpatialRelation.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.
|
Modifier and Type | Method and 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 into
ShapeCollection . |
Modifier and Type | Method and Description |
---|---|
SpatialRelation |
CircleImpl.relate(Circle circle) |
SpatialRelation |
RectangleImpl.relate(Point point) |
SpatialRelation |
CircleImpl.relate(Point point) |
SpatialRelation |
RectangleImpl.relate(Rectangle rect) |
SpatialRelation |
CircleImpl.relate(Rectangle r) |
SpatialRelation |
BufferedLine.relate(Rectangle r) |
SpatialRelation |
RectangleImpl.relate(Shape other) |
SpatialRelation |
PointImpl.relate(Shape other) |
SpatialRelation |
CircleImpl.relate(Shape other) |
SpatialRelation |
BufferedLineString.relate(Shape other) |
SpatialRelation |
BufferedLine.relate(Shape other) |
protected SpatialRelation |
GeoCircle.relateRectanglePhase2(Rectangle r,
SpatialRelation bboxSect)
Called after bounding box is intersected.
|
protected SpatialRelation |
CircleImpl.relateRectanglePhase2(Rectangle r,
SpatialRelation bboxSect) |
SpatialRelation |
RectangleImpl.relateXRange(double ext_minX,
double ext_maxX) |
SpatialRelation |
RectangleImpl.relateYRange(double ext_minY,
double ext_maxY) |
Modifier and Type | Method and Description |
---|---|
protected SpatialRelation |
GeoCircle.relateRectanglePhase2(Rectangle r,
SpatialRelation bboxSect)
Called after bounding box is intersected.
|
protected SpatialRelation |
CircleImpl.relateRectanglePhase2(Rectangle r,
SpatialRelation bboxSect) |
Modifier and Type | Method and Description |
---|---|
static SpatialRelation |
JtsGeometry.intersectionMatrixToSpatialRelation(IntersectionMatrix matrix) |
SpatialRelation |
JtsGeometry.relate(Circle circle) |
protected SpatialRelation |
JtsGeometry.relate(Geometry oGeom) |
SpatialRelation |
JtsGeometry.relate(JtsGeometry jtsGeometry) |
SpatialRelation |
JtsGeometry.relate(Point pt) |
SpatialRelation |
JtsGeometry.relate(Rectangle rectangle) |
SpatialRelation |
JtsPoint.relate(Shape other) |
SpatialRelation |
JtsGeometry.relate(Shape other) |
Copyright © 2015. All rights reserved.