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
(org.elasticsearch.geometry.MultiPolygon multiPolygon, boolean orientation, List<org.elasticsearch.geometry.Polygon> collector) static void
decomposePolygon
(org.elasticsearch.geometry.Polygon polygon, boolean orientation, List<org.elasticsearch.geometry.Polygon> collector) Splits the specified polygon by datelines and adds them to the supplied polygon array
-
Method Details
-
decomposeMultiPolygon
public static void decomposeMultiPolygon(org.elasticsearch.geometry.MultiPolygon multiPolygon, boolean orientation, List<org.elasticsearch.geometry.Polygon> collector) -
decomposePolygon
public static void decomposePolygon(org.elasticsearch.geometry.Polygon polygon, boolean orientation, List<org.elasticsearch.geometry.Polygon> collector) Splits the specified polygon by datelines and adds them to the supplied polygon array
-