Package org.apache.sedona.common
Class Predicates
java.lang.Object
org.apache.sedona.common.Predicates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancontains(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) static booleancoveredBy(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) static booleancovers(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) static booleancrosses(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) static booleandisjoint(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) static booleandWithin(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry, double distance) static booleandWithin(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry, double distance, boolean useSpheroid) static booleanequals(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) static booleanintersects(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) static booleanknn(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry, int k) static booleanknn(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry, int k, boolean useSpheroid) static booleanorderingEquals(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) static booleanoverlaps(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) static Stringrelate(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) static booleanrelate(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry, String intersectionMatrix) static booleanrelateMatch(String matrix1, String matrix2) static booleantouches(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) static booleanwithin(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry)
-
Constructor Details
-
Predicates
public Predicates()
-
-
Method Details
-
contains
public static boolean contains(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) -
intersects
public static boolean intersects(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) -
within
public static boolean within(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) -
covers
public static boolean covers(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) -
coveredBy
public static boolean coveredBy(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) -
crosses
public static boolean crosses(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) -
overlaps
public static boolean overlaps(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) -
touches
public static boolean touches(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) -
equals
public static boolean equals(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) -
disjoint
public static boolean disjoint(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) -
orderingEquals
public static boolean orderingEquals(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) -
dWithin
public static boolean dWithin(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry, double distance) -
dWithin
public static boolean dWithin(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry, double distance, boolean useSpheroid) -
relate
public static String relate(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry) -
relate
public static boolean relate(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry, String intersectionMatrix) -
relateMatch
-
knn
public static boolean knn(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry, int k) -
knn
public static boolean knn(org.locationtech.jts.geom.Geometry leftGeometry, org.locationtech.jts.geom.Geometry rightGeometry, int k, boolean useSpheroid)
-