Package org.elasticsearch.common.geo
Class GeoPolygonDecomposer
java.lang.Object
org.elasticsearch.common.geo.GeoPolygonDecomposer
public class GeoPolygonDecomposer
extends java.lang.Object
Splits polygons by datelines.
-
Method Summary
Modifier and Type Method Description static void
decomposeMultiPolygon(org.elasticsearch.geometry.MultiPolygon multiPolygon, boolean orientation, java.util.List<org.elasticsearch.geometry.Polygon> collector)
static void
decomposePolygon(org.elasticsearch.geometry.Polygon polygon, boolean orientation, java.util.List<org.elasticsearch.geometry.Polygon> collector)
Splits the specified polygon by datelines and adds them to the supplied polygon arrayMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
decomposeMultiPolygon
public static void decomposeMultiPolygon(org.elasticsearch.geometry.MultiPolygon multiPolygon, boolean orientation, java.util.List<org.elasticsearch.geometry.Polygon> collector) -
decomposePolygon
public static void decomposePolygon(org.elasticsearch.geometry.Polygon polygon, boolean orientation, java.util.List<org.elasticsearch.geometry.Polygon> collector)Splits the specified polygon by datelines and adds them to the supplied polygon array
-