Package org.elasticsearch.common.geo
Class GeoPolygonDecomposer
java.lang.Object
org.elasticsearch.common.geo.GeoPolygonDecomposer
Splits polygons by datelines.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
decomposeMultiPolygon
(MultiPolygon multiPolygon, boolean orientation, List<Polygon> collector) static void
decomposePolygon
(Polygon polygon, boolean orientation, List<Polygon> collector) Splits the specified polygon by datelines and adds them to the supplied polygon array
-
Method Details
-
decomposeMultiPolygon
public static void decomposeMultiPolygon(MultiPolygon multiPolygon, boolean orientation, List<Polygon> collector) -
decomposePolygon
Splits the specified polygon by datelines and adds them to the supplied polygon array
-