Module org.elasticsearch.server
Interface ScriptDocValues.Geometry
- All Known Implementing Classes:
ScriptDocValues.GeoPoints
- Enclosing class:
ScriptDocValues<T>
public static interface ScriptDocValues.Geometry
-
Method Summary
Modifier and TypeMethodDescriptionReturns the bounding box of this geometryReturns the centroid of this geometryint
Returns the dimensional type of this geometryReturns the suggested label positiondouble
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
size()
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)
-