Interface ScriptDocValues.Geometry

All Known Implementing Classes:
ScriptDocValues.GeoPoints
Enclosing class:
ScriptDocValues<T>

public static interface ScriptDocValues.Geometry
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the bounding box of this geometry
    Returns the centroid of this geometry
    int
    Returns the dimensional type of this geometry
    Returns the suggested label position
    double
    Returns the height of the bounding box diagonal in the spherical Mercator projection (meters)
    double
    Returns the width of the bounding box diagonal in the spherical Mercator projection (meters)
    int
    returns the size of the geometry
  • Method Details

    • getDimensionalType

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

      GeoBoundingBox getBoundingBox()
      Returns the bounding box of this geometry
    • getLabelPosition

      GeoPoint getLabelPosition()
      Returns the suggested label position
    • getCentroid

      GeoPoint getCentroid()
      Returns the centroid of this geometry
    • size

      int size()
      returns the size of the geometry
    • getMercatorWidth

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

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