All Known Implementing Classes:
Point, Rectangle

public interface Geometry
Code copied from Elasticsearch 7.10, Apache License V2 https://github.com/elastic/elasticsearch/blob/7.10/libs/geo/src/main/java/org/elasticsearch/geometry/Geometry.java

Base class for all Geometry objects supported by elasticsearch
  • Method Details

    • type

      ShapeType type()
    • visit

      <T, E extends Exception> T visit(GeometryVisitor<T,E> visitor) throws E
      Throws:
      E extends Exception
    • isEmpty

      boolean isEmpty()
    • hasZ

      default boolean hasZ()
    • hasAlt

      default boolean hasAlt()