Class MultiPolygon

java.lang.Object
org.elasticsearch.geometry.GeometryCollection<Polygon>
org.elasticsearch.geometry.MultiPolygon
All Implemented Interfaces:
java.lang.Iterable<Polygon>, Geometry

public class MultiPolygon
extends GeometryCollection<Polygon>
Collection of polygons
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static MultiPolygon EMPTY  
  • Constructor Summary

    Constructors 
    Constructor Description
    MultiPolygon​(java.util.List<Polygon> polygons)  
  • Method Summary

    Modifier and Type Method Description
    ShapeType type()  
    <T,​ E extends java.lang.Exception>
    T
    visit​(GeometryVisitor<T,​E> visitor)  

    Methods inherited from class org.elasticsearch.geometry.GeometryCollection

    equals, get, hashCode, hasZ, isEmpty, iterator, size, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.elasticsearch.geometry.Geometry

    hasAlt

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator