Class ShapeDocValue.Centroid

java.lang.Object
org.opensearch.common.geo.ShapeDocValue.Centroid
Direct Known Subclasses:
GeoShapeDocValue.Centroid
Enclosing class:
ShapeDocValue

public static class ShapeDocValue.Centroid extends Object
Provides the centroid of the field(Shape) which has been indexed.
  • Method Details

    • getY

      public double getY()
    • getX

      public double getX()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object