Class JtsSpatialAlgebra
java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.function.geosparql.JtsSpatialAlgebra
- All Implemented Interfaces:
 SpatialAlgebra
JTS-enabled implementation of spatial algebra, with full support for polygon-related geospatial functions
- 
Constructor Summary
ConstructorsConstructorDescriptionJtsSpatialAlgebra(org.locationtech.spatial4j.context.jts.JtsSpatialContext context)  - 
Method Summary
Modifier and TypeMethodDescriptionorg.locationtech.spatial4j.shape.Shapeboundary(org.locationtech.spatial4j.shape.Shape s) org.locationtech.spatial4j.shape.Shapebuffer(org.locationtech.spatial4j.shape.Shape s, double distance) org.locationtech.spatial4j.shape.ShapeconvexHull(org.locationtech.spatial4j.shape.Shape s) org.locationtech.spatial4j.shape.Shapedifference(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanehContains(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanehCoveredBy(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanehCovers(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanehDisjoint(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanehEquals(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanehInside(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanehMeet(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanehOverlap(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) org.locationtech.spatial4j.shape.Shapeenvelope(org.locationtech.spatial4j.shape.Shape s) org.locationtech.spatial4j.shape.Shapeintersection(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanrcc8dc(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanrcc8ec(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanrcc8eq(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanrcc8ntpp(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanrcc8ntppi(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanrcc8po(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanrcc8tpp(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanrcc8tppi(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanrelate(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2, String intersectionPattern) booleansfContains(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleansfCrosses(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleansfDisjoint(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleansfEquals(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleansfIntersects(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleansfOverlaps(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleansfTouches(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleansfWithin(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) org.locationtech.spatial4j.shape.ShapesymDifference(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) org.locationtech.spatial4j.shape.Shapeunion(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)  
- 
Constructor Details
- 
JtsSpatialAlgebra
public JtsSpatialAlgebra(org.locationtech.spatial4j.context.jts.JtsSpatialContext context)  
 - 
 - 
Method Details
- 
buffer
public org.locationtech.spatial4j.shape.Shape buffer(org.locationtech.spatial4j.shape.Shape s, double distance) - Specified by:
 bufferin interfaceSpatialAlgebra
 - 
convexHull
public org.locationtech.spatial4j.shape.Shape convexHull(org.locationtech.spatial4j.shape.Shape s) - Specified by:
 convexHullin interfaceSpatialAlgebra
 - 
boundary
public org.locationtech.spatial4j.shape.Shape boundary(org.locationtech.spatial4j.shape.Shape s) - Specified by:
 boundaryin interfaceSpatialAlgebra
 - 
envelope
public org.locationtech.spatial4j.shape.Shape envelope(org.locationtech.spatial4j.shape.Shape s) - Specified by:
 envelopein interfaceSpatialAlgebra
 - 
union
public org.locationtech.spatial4j.shape.Shape union(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 unionin interfaceSpatialAlgebra
 - 
intersection
public org.locationtech.spatial4j.shape.Shape intersection(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 intersectionin interfaceSpatialAlgebra
 - 
symDifference
public org.locationtech.spatial4j.shape.Shape symDifference(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 symDifferencein interfaceSpatialAlgebra
 - 
difference
public org.locationtech.spatial4j.shape.Shape difference(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 differencein interfaceSpatialAlgebra
 - 
relate
public boolean relate(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2, String intersectionPattern) - Specified by:
 relatein interfaceSpatialAlgebra
 - 
sfEquals
public boolean sfEquals(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 sfEqualsin interfaceSpatialAlgebra
 - 
sfDisjoint
public boolean sfDisjoint(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 sfDisjointin interfaceSpatialAlgebra
 - 
sfIntersects
public boolean sfIntersects(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 sfIntersectsin interfaceSpatialAlgebra
 - 
sfTouches
public boolean sfTouches(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 sfTouchesin interfaceSpatialAlgebra
 - 
sfCrosses
public boolean sfCrosses(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 sfCrossesin interfaceSpatialAlgebra
 - 
sfWithin
public boolean sfWithin(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 sfWithinin interfaceSpatialAlgebra
 - 
sfContains
public boolean sfContains(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 sfContainsin interfaceSpatialAlgebra
 - 
sfOverlaps
public boolean sfOverlaps(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 sfOverlapsin interfaceSpatialAlgebra
 - 
ehEquals
public boolean ehEquals(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 ehEqualsin interfaceSpatialAlgebra
 - 
ehDisjoint
public boolean ehDisjoint(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 ehDisjointin interfaceSpatialAlgebra
 - 
ehMeet
public boolean ehMeet(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 ehMeetin interfaceSpatialAlgebra
 - 
ehOverlap
public boolean ehOverlap(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 ehOverlapin interfaceSpatialAlgebra
 - 
ehCovers
public boolean ehCovers(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 ehCoversin interfaceSpatialAlgebra
 - 
ehCoveredBy
public boolean ehCoveredBy(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 ehCoveredByin interfaceSpatialAlgebra
 - 
ehInside
public boolean ehInside(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 ehInsidein interfaceSpatialAlgebra
 - 
ehContains
public boolean ehContains(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 ehContainsin interfaceSpatialAlgebra
 - 
rcc8dc
public boolean rcc8dc(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 rcc8dcin interfaceSpatialAlgebra
 - 
rcc8ec
public boolean rcc8ec(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 rcc8ecin interfaceSpatialAlgebra
 - 
rcc8po
public boolean rcc8po(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 rcc8poin interfaceSpatialAlgebra
 - 
rcc8tppi
public boolean rcc8tppi(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 rcc8tppiin interfaceSpatialAlgebra
 - 
rcc8tpp
public boolean rcc8tpp(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 rcc8tppin interfaceSpatialAlgebra
 - 
rcc8ntpp
public boolean rcc8ntpp(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 rcc8ntppin interfaceSpatialAlgebra
 - 
rcc8ntppi
public boolean rcc8ntppi(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 rcc8ntppiin interfaceSpatialAlgebra
 - 
rcc8eq
public boolean rcc8eq(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
 rcc8eqin interfaceSpatialAlgebra
 
 -