Class GeoPolygonDecomposer

java.lang.Object
org.elasticsearch.common.geo.GeoPolygonDecomposer

public class GeoPolygonDecomposer extends Object
Splits polygons by datelines.
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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

    Methods 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, 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