Class ScriptDocValues.Geometry<T>

All Implemented Interfaces:
Iterable<T>, Collection<T>, List<T>
Direct Known Subclasses:
ScriptDocValues.GeoPoints
Enclosing class:
ScriptDocValues<T>

public abstract static class ScriptDocValues.Geometry<T> extends ScriptDocValues<T>
  • Constructor Details

    • Geometry

      public Geometry()
  • Method Details

    • getDimensionalType

      public abstract int getDimensionalType()
      Returns the dimensional type of this geometry
    • getBoundingBox

      public abstract GeoBoundingBox getBoundingBox()
      Returns the bounding box of this geometry
    • getCentroid

      public abstract GeoPoint getCentroid()
      Returns the centroid of this geometry
    • getMercatorWidth

      public abstract double getMercatorWidth()
      Returns the width of the bounding box diagonal in the spherical Mercator projection (meters)
    • getMercatorHeight

      public abstract double getMercatorHeight()
      Returns the height of the bounding box diagonal in the spherical Mercator projection (meters)