Index

A B C D E F G H I L M N O P Q R S T V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

addNeighbors(String, E) - Static method in class org.elasticsearch.geometry.utils.Geohash
Add all geohashes of the cells next to a given geohash to a list.
addNeighborsAtLevel(String, int, E) - Static method in class org.elasticsearch.geometry.utils.Geohash
Add all geohashes of the cells next to a given geohash to a list.
angleTo(SimplificationErrorCalculator.Point3D) - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.Point3D
Calculate the angle in radians between this vector and the specified vector
asin(double) - Static method in class org.elasticsearch.geometry.simplify.SloppyMath
Returns the arc sine of a value.

B

BitUtil - Class in org.elasticsearch.geometry.utils
Utilities for common Bit twiddling methods.
byName(String) - Static method in interface org.elasticsearch.geometry.simplify.SimplificationErrorCalculator
 

C

calculateError(SimplificationErrorCalculator.PointLike, SimplificationErrorCalculator.PointLike, SimplificationErrorCalculator.PointLike) - Method in interface org.elasticsearch.geometry.simplify.SimplificationErrorCalculator
 
calculateError(SimplificationErrorCalculator.PointLike, SimplificationErrorCalculator.PointLike, SimplificationErrorCalculator.PointLike) - Method in class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.CartesianHeightAndBackpathDistanceCalculator
 
calculateError(SimplificationErrorCalculator.PointLike, SimplificationErrorCalculator.PointLike, SimplificationErrorCalculator.PointLike) - Method in class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.CartesianTriangleAreaCalculator
 
calculateError(SimplificationErrorCalculator.PointLike, SimplificationErrorCalculator.PointLike, SimplificationErrorCalculator.PointLike) - Method in class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.SphericalHeightAndBackpathDistanceCalculator
 
calculateError(SimplificationErrorCalculator.PointLike, SimplificationErrorCalculator.PointLike, SimplificationErrorCalculator.PointLike) - Method in class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.TriangleAreaCalculator
 
calculateError(SimplificationErrorCalculator.PointLike, SimplificationErrorCalculator.PointLike, SimplificationErrorCalculator.PointLike) - Method in class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.TriangleHeightCalculator
 
calculator - Variable in class org.elasticsearch.geometry.simplify.GeometrySimplifier
 
calculator - Variable in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
 
CARTESIAN_TRIANGLE_AREA - Static variable in interface org.elasticsearch.geometry.simplify.SimplificationErrorCalculator
 
CartesianHeightAndBackpathDistanceCalculator() - Constructor for class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.CartesianHeightAndBackpathDistanceCalculator
 
CartesianTriangleAreaCalculator() - Constructor for class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.CartesianTriangleAreaCalculator
 
checkAltitude(double) - Method in class org.elasticsearch.geometry.utils.GeographyValidator
 
checkLatitude(double) - Method in class org.elasticsearch.geometry.utils.GeographyValidator
validates latitude value is within standard +/-90 coordinate bounds
checkLongitude(double) - Method in class org.elasticsearch.geometry.utils.GeographyValidator
validates longitude value is within standard +/-180 coordinate bounds
checkZ(double) - Method in class org.elasticsearch.geometry.utils.StandardValidator
 
Circle - Class in org.elasticsearch.geometry
Circle geometry (not part of WKT standard, but used in elasticsearch) defined by lat/lon coordinates of the center in degrees and optional altitude in meters.
Circle(double, double, double) - Constructor for class org.elasticsearch.geometry.Circle
 
Circle(double, double, double, double) - Constructor for class org.elasticsearch.geometry.Circle
 
CIRCLE - Enum constant in enum class org.elasticsearch.geometry.ShapeType
 
circleToPolygonNumSides(double, double) - Static method in class org.elasticsearch.geometry.utils.CircleUtils
 
CircleUtils - Class in org.elasticsearch.geometry.utils
Utility class for storing different helpful re-usable spatial functions
COMMA - Static variable in class org.elasticsearch.geometry.utils.WellKnownText
 
compareTo(StreamingGeometrySimplifier.PointError) - Method in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.PointError
 
consume(double, double) - Method in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
Consume a single point on the stream of points to be simplified.
consume(StreamingGeometrySimplifier.PointError) - Method in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
Consume a single point on the stream of points to be simplified.
cos(double) - Static method in class org.elasticsearch.geometry.simplify.SloppyMath
Returns the trigonometric cosine of an angle.
createRegularGeoShapePolygon(Circle, int) - Static method in class org.elasticsearch.geometry.utils.CircleUtils
Makes an n-gon, centered at the provided circle's center, and each vertex approximately Circle.getRadiusMeters() away from the center.
createRegularShapePolygon(Circle, int) - Static method in class org.elasticsearch.geometry.utils.CircleUtils
Makes an n-gon, centered at the provided circle's center.
cross(SimplificationErrorCalculator.Point3D) - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.Point3D
Vector cross-product of this vector against the provided vector

D

decodeLatitude(long) - Static method in class org.elasticsearch.geometry.utils.Geohash
decode latitude value from morton encoded geo point
decodeLatitude(String) - Static method in class org.elasticsearch.geometry.utils.Geohash
returns the latitude value from the string based geohash
decodeLongitude(long) - Static method in class org.elasticsearch.geometry.utils.Geohash
decode longitude value from morton encoded geo point
decodeLongitude(String) - Static method in class org.elasticsearch.geometry.utils.Geohash
returns the latitude value from the string based geohash
deinterleave(long) - Static method in class org.elasticsearch.geometry.utils.BitUtil
Extract just the even-bits value as a long from the bit-interleaved value
description - Variable in class org.elasticsearch.geometry.simplify.GeometrySimplifier
 
description - Variable in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
 
dot(SimplificationErrorCalculator.Point3D) - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.Point3D
Calculate the dot-product of this vector with the specified vector

E

EMPTY - Static variable in class org.elasticsearch.geometry.Circle
 
EMPTY - Static variable in class org.elasticsearch.geometry.GeometryCollection
 
EMPTY - Static variable in class org.elasticsearch.geometry.Line
 
EMPTY - Static variable in class org.elasticsearch.geometry.LinearRing
 
EMPTY - Static variable in class org.elasticsearch.geometry.MultiLine
 
EMPTY - Static variable in class org.elasticsearch.geometry.MultiPoint
 
EMPTY - Static variable in class org.elasticsearch.geometry.MultiPolygon
 
EMPTY - Static variable in class org.elasticsearch.geometry.Point
 
EMPTY - Static variable in class org.elasticsearch.geometry.Polygon
 
EMPTY - Static variable in class org.elasticsearch.geometry.Rectangle
 
EMPTY - Static variable in class org.elasticsearch.geometry.utils.WellKnownText
 
encodeLatitude(double) - Static method in class org.elasticsearch.geometry.utils.Geohash
encode latitude to integer
encodeLongitude(double) - Static method in class org.elasticsearch.geometry.utils.Geohash
encode longitude to integer
endSimplification(String, List<SimplificationErrorCalculator.PointLike>) - Method in interface org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.Monitor
When simplification or sub-simplification is completed, this is called.
ENVELOPE - Enum constant in enum class org.elasticsearch.geometry.ShapeType
 
equals(Object) - Method in class org.elasticsearch.geometry.Circle
 
equals(Object) - Method in class org.elasticsearch.geometry.GeometryCollection
 
equals(Object) - Method in class org.elasticsearch.geometry.Line
 
equals(Object) - Method in class org.elasticsearch.geometry.Point
 
equals(Object) - Method in class org.elasticsearch.geometry.Polygon
 
equals(Object) - Method in class org.elasticsearch.geometry.Rectangle
 
equals(Object) - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.Point3D
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.RotationMatrix
Indicates whether some other object is "equal to" this one.

F

flipFlop(long) - Static method in class org.elasticsearch.geometry.utils.BitUtil
flip flops odd with even bits
forName(String) - Static method in enum class org.elasticsearch.geometry.ShapeType
 
from(double, double) - Static method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.Point3D
Convert a geographic point from latitude/longitude to x,y,z of unit length
from(SimplificationErrorCalculator.PointLike) - Static method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.Point3D
Convert a geographic point from latitude/longitude to x,y,z
fromWKB(byte[], int, int) - Static method in class org.elasticsearch.geometry.utils.WellKnownText
 
fromWKB(GeometryValidator, boolean, byte[]) - Static method in class org.elasticsearch.geometry.utils.WellKnownBinary
Reads a Geometry from the given WKB byte array.
fromWKB(GeometryValidator, boolean, byte[], int, int) - Static method in class org.elasticsearch.geometry.utils.WellKnownBinary
Reads a Geometry from the given WKB byte array with offset.
fromWKT(GeometryValidator, boolean, String) - Static method in class org.elasticsearch.geometry.utils.WellKnownText
 

G

GeographyValidator - Class in org.elasticsearch.geometry.utils
Validator that checks that lats are between -90 and +90 and lons are between -180 and +180 and altitude is present only if ignoreZValue is set to true
GeographyValidator(boolean) - Constructor for class org.elasticsearch.geometry.utils.GeographyValidator
 
Geohash - Class in org.elasticsearch.geometry.utils
Utilities for converting to/from the GeoHash standard The geohash long format is represented as lon/lat (x/y) interleaved with the 4 least significant bits representing the level (1-12) [xyxy...xyxyllll] This differs from a morton encoded value which interleaves lat/lon (y/x).
Geometry - Interface in org.elasticsearch.geometry
Base class for all Geometry objects supported by elasticsearch
GeometryCollection<G extends Geometry> - Class in org.elasticsearch.geometry
Collection of arbitrary geometry classes
GeometryCollection() - Constructor for class org.elasticsearch.geometry.GeometryCollection
 
GeometryCollection(List<G>) - Constructor for class org.elasticsearch.geometry.GeometryCollection
 
GEOMETRYCOLLECTION - Enum constant in enum class org.elasticsearch.geometry.ShapeType
 
GeometryCollections(int, SimplificationErrorCalculator) - Constructor for class org.elasticsearch.geometry.simplify.GeometrySimplifier.GeometryCollections
 
GeometryCollections(int, SimplificationErrorCalculator, StreamingGeometrySimplifier.Monitor) - Constructor for class org.elasticsearch.geometry.simplify.GeometrySimplifier.GeometryCollections
 
GeometrySimplifier<T extends Geometry> - Class in org.elasticsearch.geometry.simplify
The geometry simplifier can simplify any geometry, and does so by internally making use of the StreamingGeometrySimplifier, to minimize memory usages.
GeometrySimplifier(String, int, SimplificationErrorCalculator, StreamingGeometrySimplifier.Monitor, StreamingGeometrySimplifier<T>) - Constructor for class org.elasticsearch.geometry.simplify.GeometrySimplifier
 
GeometrySimplifier.GeometryCollections - Class in org.elasticsearch.geometry.simplify
This class wraps a collection of other simplifiers.
GeometrySimplifier.Identity<G extends Geometry> - Class in org.elasticsearch.geometry.simplify
This simplifier simply returns the original geometry unsimplified.
GeometrySimplifier.LinearRingSimplifier - Class in org.elasticsearch.geometry.simplify
This behaves the same as the Line simplifier except that it assumes the first and last point are the same point.
GeometrySimplifier.LineSimplifier - Class in org.elasticsearch.geometry.simplify
Simplifies a Line geometry to the specified maximum number of points.
GeometrySimplifier.MultiPolygonSimplifier - Class in org.elasticsearch.geometry.simplify
This class wraps a collection of Polygon simplifiers.
GeometrySimplifier.PolygonSimplifier - Class in org.elasticsearch.geometry.simplify
This class wraps a collection of LinearRing simplifiers for polygon holes.
GeometryValidator - Interface in org.elasticsearch.geometry.utils
Generic geometry validator that can be used by the parser to verify the validity of the parsed geometry
GeometryVisitor<T,E extends Exception> - Interface in org.elasticsearch.geometry
Support class for creating Geometry Visitors.
get(int) - Method in class org.elasticsearch.geometry.GeometryCollection
 
getAlt() - Method in class org.elasticsearch.geometry.Circle
 
getAlt() - Method in class org.elasticsearch.geometry.Point
 
getAlt(int) - Method in class org.elasticsearch.geometry.Line
 
getAlts() - Method in class org.elasticsearch.geometry.Line
 
getCurrentPoints() - Method in class org.elasticsearch.geometry.simplify.GeometrySimplifier
 
getHole(int) - Method in class org.elasticsearch.geometry.Polygon
 
getLat() - Method in class org.elasticsearch.geometry.Circle
 
getLat() - Method in class org.elasticsearch.geometry.Point
 
getLat(int) - Method in class org.elasticsearch.geometry.Line
 
getLats() - Method in class org.elasticsearch.geometry.Line
 
getLon() - Method in class org.elasticsearch.geometry.Circle
 
getLon() - Method in class org.elasticsearch.geometry.Point
 
getLon(int) - Method in class org.elasticsearch.geometry.Line
 
getLons() - Method in class org.elasticsearch.geometry.Line
 
getMaxAlt() - Method in class org.elasticsearch.geometry.Rectangle
 
getMaxLat() - Method in class org.elasticsearch.geometry.Rectangle
 
getMaxLon() - Method in class org.elasticsearch.geometry.Rectangle
 
getMaxX() - Method in class org.elasticsearch.geometry.Rectangle
 
getMaxY() - Method in class org.elasticsearch.geometry.Rectangle
 
getMaxZ() - Method in class org.elasticsearch.geometry.Rectangle
 
getMinAlt() - Method in class org.elasticsearch.geometry.Rectangle
 
getMinLat() - Method in class org.elasticsearch.geometry.Rectangle
 
getMinLon() - Method in class org.elasticsearch.geometry.Rectangle
 
getMinX() - Method in class org.elasticsearch.geometry.Rectangle
 
getMinY() - Method in class org.elasticsearch.geometry.Rectangle
 
getMinZ() - Method in class org.elasticsearch.geometry.Rectangle
 
getNeighbor(String, int, int, int) - Static method in class org.elasticsearch.geometry.utils.Geohash
Calculate the geohash of a neighbor of a geohash
getNeighbors(String) - Static method in class org.elasticsearch.geometry.utils.Geohash
Calculate all neighbors of a given geohash cell.
getNumberOfHoles() - Method in class org.elasticsearch.geometry.Polygon
 
getPolygon() - Method in class org.elasticsearch.geometry.Polygon
 
getRadiusMeters() - Method in class org.elasticsearch.geometry.Circle
 
getSubGeohashes(String) - Static method in class org.elasticsearch.geometry.utils.Geohash
Array of geohashes one level below the baseGeohash.
getX() - Method in class org.elasticsearch.geometry.Circle
 
getX() - Method in class org.elasticsearch.geometry.Line
 
getX() - Method in class org.elasticsearch.geometry.Point
 
getX(int) - Method in class org.elasticsearch.geometry.Line
 
getY() - Method in class org.elasticsearch.geometry.Circle
 
getY() - Method in class org.elasticsearch.geometry.Line
 
getY() - Method in class org.elasticsearch.geometry.Point
 
getY(int) - Method in class org.elasticsearch.geometry.Line
 
getZ() - Method in class org.elasticsearch.geometry.Circle
 
getZ() - Method in class org.elasticsearch.geometry.Line
 
getZ() - Method in class org.elasticsearch.geometry.Point
 
getZ(int) - Method in class org.elasticsearch.geometry.Line
 

H

hasAlt() - Method in interface org.elasticsearch.geometry.Geometry
 
hashCode() - Method in class org.elasticsearch.geometry.Circle
 
hashCode() - Method in class org.elasticsearch.geometry.GeometryCollection
 
hashCode() - Method in class org.elasticsearch.geometry.Line
 
hashCode() - Method in class org.elasticsearch.geometry.Point
 
hashCode() - Method in class org.elasticsearch.geometry.Polygon
 
hashCode() - Method in class org.elasticsearch.geometry.Rectangle
 
hashCode() - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.Point3D
Returns a hash code value for this object.
hashCode() - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.RotationMatrix
Returns a hash code value for this object.
hasZ() - Method in class org.elasticsearch.geometry.Circle
 
hasZ() - Method in interface org.elasticsearch.geometry.Geometry
 
hasZ() - Method in class org.elasticsearch.geometry.GeometryCollection
 
hasZ() - Method in class org.elasticsearch.geometry.Line
 
hasZ() - Method in class org.elasticsearch.geometry.Point
 
hasZ() - Method in class org.elasticsearch.geometry.Polygon
 
hasZ() - Method in class org.elasticsearch.geometry.Rectangle
 
haversinMeters(double) - Static method in class org.elasticsearch.geometry.simplify.SloppyMath
Returns the Haversine distance in meters between two points given the previous result from SloppyMath.haversinSortKey(double, double, double, double)
haversinMeters(double, double, double, double) - Static method in class org.elasticsearch.geometry.simplify.SloppyMath
Returns the Haversine distance in meters between two points specified in decimal degrees (latitude/longitude).
haversinSortKey(double, double, double, double) - Static method in class org.elasticsearch.geometry.simplify.SloppyMath
Returns a sort key for distance.
HEIGHT_AND_BACKPATH_DISTANCE - Static variable in interface org.elasticsearch.geometry.simplify.SimplificationErrorCalculator
 

I

Identity(int, SimplificationErrorCalculator) - Constructor for class org.elasticsearch.geometry.simplify.GeometrySimplifier.Identity
 
Identity(int, SimplificationErrorCalculator, StreamingGeometrySimplifier.Monitor) - Constructor for class org.elasticsearch.geometry.simplify.GeometrySimplifier.Identity
 
indexOf(int) - Method in class org.elasticsearch.geometry.simplify.GeometrySimplifier.MultiPolygonSimplifier
Provide the index of the original un-simplified polygon given the index of the simplified polygon.
innerSimplifier - Variable in class org.elasticsearch.geometry.simplify.GeometrySimplifier
 
instance(boolean) - Static method in class org.elasticsearch.geometry.utils.GeographyValidator
 
instance(boolean) - Static method in class org.elasticsearch.geometry.utils.StandardValidator
 
interleave(int, int) - Static method in class org.elasticsearch.geometry.utils.BitUtil
Interleaves the first 32 bits of each long value Adapted from: http://graphics.stanford.edu/~seander/bithacks.html#InterleaveBMN
inverse() - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.Point3D
Invert this vector, providing a parallel vector pointing in the opposite direction
isEmpty() - Method in class org.elasticsearch.geometry.Circle
 
isEmpty() - Method in interface org.elasticsearch.geometry.Geometry
 
isEmpty() - Method in class org.elasticsearch.geometry.GeometryCollection
 
isEmpty() - Method in class org.elasticsearch.geometry.Line
 
isEmpty() - Method in class org.elasticsearch.geometry.Point
 
isEmpty() - Method in class org.elasticsearch.geometry.Polygon
 
isEmpty() - Method in class org.elasticsearch.geometry.Rectangle
 
iterator() - Method in class org.elasticsearch.geometry.GeometryCollection
 

L

lastRemoved - Variable in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
 
latHeightInDegrees(int) - Static method in class org.elasticsearch.geometry.utils.Geohash
approximate height of geohash tile for a specific precision in degrees
length - Variable in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
 
length() - Method in class org.elasticsearch.geometry.Line
 
length() - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.Point3D
Calculate the length of this vector, should be 1 for unit vectors
Line - Class in org.elasticsearch.geometry
Represents a Line on the earth's surface in lat/lon decimal degrees and optional altitude in meters.
Line() - Constructor for class org.elasticsearch.geometry.Line
 
Line(double[], double[]) - Constructor for class org.elasticsearch.geometry.Line
 
Line(double[], double[], double[]) - Constructor for class org.elasticsearch.geometry.Line
 
LinearRing - Class in org.elasticsearch.geometry
Represents a closed line on the earth's surface in lat/lon decimal degrees and optional altitude in meters.
LinearRing(double[], double[]) - Constructor for class org.elasticsearch.geometry.LinearRing
 
LinearRing(double[], double[], double[]) - Constructor for class org.elasticsearch.geometry.LinearRing
 
LINEARRING - Enum constant in enum class org.elasticsearch.geometry.ShapeType
 
LinearRingSimplifier(int, SimplificationErrorCalculator) - Constructor for class org.elasticsearch.geometry.simplify.GeometrySimplifier.LinearRingSimplifier
 
LinearRingSimplifier(int, SimplificationErrorCalculator) - Constructor for class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.LinearRingSimplifier
 
LinearRingSimplifier(int, SimplificationErrorCalculator, StreamingGeometrySimplifier.Monitor) - Constructor for class org.elasticsearch.geometry.simplify.GeometrySimplifier.LinearRingSimplifier
 
LinearRingSimplifier(int, SimplificationErrorCalculator, StreamingGeometrySimplifier.Monitor) - Constructor for class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.LinearRingSimplifier
 
LineSimplifier(int, SimplificationErrorCalculator) - Constructor for class org.elasticsearch.geometry.simplify.GeometrySimplifier.LineSimplifier
 
LineSimplifier(int, SimplificationErrorCalculator) - Constructor for class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.LineSimplifier
 
LineSimplifier(int, SimplificationErrorCalculator, StreamingGeometrySimplifier.Monitor) - Constructor for class org.elasticsearch.geometry.simplify.GeometrySimplifier.LineSimplifier
 
LineSimplifier(int, SimplificationErrorCalculator, StreamingGeometrySimplifier.Monitor) - Constructor for class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.LineSimplifier
 
LINESTRING - Enum constant in enum class org.elasticsearch.geometry.ShapeType
 
longEncode(double, double, int) - Static method in class org.elasticsearch.geometry.utils.Geohash
Encode lon/lat to the geohash based long format (lon/lat interleaved, 4 least significant bits = level)
longEncode(String) - Static method in class org.elasticsearch.geometry.utils.Geohash
Encode a string geohash to the geohash based long format (lon/lat interleaved, 4 least significant bits = level)
lonWidthInDegrees(int) - Static method in class org.elasticsearch.geometry.utils.Geohash
approximate width of geohash tile for a specific precision in degrees
LPAREN - Static variable in class org.elasticsearch.geometry.utils.WellKnownText
 

M

matrix() - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.RotationMatrix
Returns the value of the matrix record component.
maxPoints - Variable in class org.elasticsearch.geometry.simplify.GeometrySimplifier
 
maxPoints - Variable in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
 
monitor - Variable in class org.elasticsearch.geometry.simplify.GeometrySimplifier
 
monitor - Variable in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
 
mortonEncode(String) - Static method in class org.elasticsearch.geometry.utils.Geohash
Encode to a morton long value from a given geohash string
MultiLine - Class in org.elasticsearch.geometry
Represents a MultiLine geometry object on the earth's surface.
MultiLine(List<Line>) - Constructor for class org.elasticsearch.geometry.MultiLine
 
MULTILINESTRING - Enum constant in enum class org.elasticsearch.geometry.ShapeType
 
multiply(SimplificationErrorCalculator.Point3D) - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.RotationMatrix
Perform the rotation by multiplying this matrix by the incoming vector
MultiPoint - Class in org.elasticsearch.geometry
Represents a MultiPoint object on the earth's surface in decimal degrees and optional altitude in meters.
MultiPoint(List<Point>) - Constructor for class org.elasticsearch.geometry.MultiPoint
 
MULTIPOINT - Enum constant in enum class org.elasticsearch.geometry.ShapeType
 
MultiPolygon - Class in org.elasticsearch.geometry
Collection of polygons
MultiPolygon(List<Polygon>) - Constructor for class org.elasticsearch.geometry.MultiPolygon
 
MULTIPOLYGON - Enum constant in enum class org.elasticsearch.geometry.ShapeType
 
MultiPolygonSimplifier(int, SimplificationErrorCalculator) - Constructor for class org.elasticsearch.geometry.simplify.GeometrySimplifier.MultiPolygonSimplifier
 
MultiPolygonSimplifier(int, SimplificationErrorCalculator, StreamingGeometrySimplifier.Monitor) - Constructor for class org.elasticsearch.geometry.simplify.GeometrySimplifier.MultiPolygonSimplifier
 

N

NAN - Static variable in class org.elasticsearch.geometry.utils.WellKnownText
 
newPoint(int, double, double) - Method in interface org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.PointConstructor
 
NOOP - Static variable in interface org.elasticsearch.geometry.utils.GeometryValidator
 
notifyMonitorPointAdded() - Method in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
 
notifyMonitorPointRemoved(StreamingGeometrySimplifier.PointError) - Method in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
 
notifyMonitorSimplificationEnd() - Method in class org.elasticsearch.geometry.simplify.GeometrySimplifier
 
notifyMonitorSimplificationStart() - Method in class org.elasticsearch.geometry.simplify.GeometrySimplifier
 

O

objCount - Variable in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
 
org.elasticsearch.geo - module org.elasticsearch.geo
 
org.elasticsearch.geometry - package org.elasticsearch.geometry
Common Geometry classes
org.elasticsearch.geometry.simplify - package org.elasticsearch.geometry.simplify
 
org.elasticsearch.geometry.utils - package org.elasticsearch.geometry.utils
 

P

Point - Class in org.elasticsearch.geometry
Represents a Point on the earth's surface in decimal degrees and optional altitude in meters.
Point(double, double) - Constructor for class org.elasticsearch.geometry.Point
 
Point(double, double, double) - Constructor for class org.elasticsearch.geometry.Point
 
POINT - Enum constant in enum class org.elasticsearch.geometry.ShapeType
 
Point3D(double, double, double) - Constructor for record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.Point3D
Creates an instance of a Point3D record class.
pointAdded(String, List<SimplificationErrorCalculator.PointLike>) - Method in interface org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.Monitor
Every time a point is added to the collection, this method sends the resulting state
pointConstructor - Variable in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
 
PointError(int, double, double) - Constructor for class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.PointError
 
pointRemoved(String, List<SimplificationErrorCalculator.PointLike>, SimplificationErrorCalculator.PointLike, double, SimplificationErrorCalculator.PointLike, SimplificationErrorCalculator.PointLike) - Method in interface org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.Monitor
Every time a point is added and another is removed from the collection, this method sends the resulting state
pointResetter - Variable in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
 
points - Variable in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
 
Polygon - Class in org.elasticsearch.geometry
Represents a closed polygon on the earth's surface with optional holes
Polygon(LinearRing) - Constructor for class org.elasticsearch.geometry.Polygon
Creates a new Polygon from the supplied latitude/longitude array, and optionally any holes.
Polygon(LinearRing, List<LinearRing>) - Constructor for class org.elasticsearch.geometry.Polygon
Creates a new Polygon from the supplied latitude/longitude array, and optionally any holes.
POLYGON - Enum constant in enum class org.elasticsearch.geometry.ShapeType
 
PolygonSimplifier(int, SimplificationErrorCalculator) - Constructor for class org.elasticsearch.geometry.simplify.GeometrySimplifier.PolygonSimplifier
 
PolygonSimplifier(int, SimplificationErrorCalculator) - Constructor for class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.PolygonSimplifier
 
PolygonSimplifier(int, SimplificationErrorCalculator, StreamingGeometrySimplifier.Monitor) - Constructor for class org.elasticsearch.geometry.simplify.GeometrySimplifier.PolygonSimplifier
 
PolygonSimplifier(int, SimplificationErrorCalculator, StreamingGeometrySimplifier.Monitor) - Constructor for class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.PolygonSimplifier
 
PRECISION - Static variable in class org.elasticsearch.geometry.utils.Geohash
maximum precision for geohash strings
produce() - Method in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.LinearRingSimplifier
 
produce() - Method in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.LineSimplifier
 
produce() - Method in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.PolygonSimplifier
 
produce() - Method in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
Produce the simplified geometry from the consumed points

Q

queue - Variable in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
 

R

Rectangle - Class in org.elasticsearch.geometry
Represents a lat/lon rectangle in decimal degrees and optional altitude in meters.
Rectangle(double, double, double, double) - Constructor for class org.elasticsearch.geometry.Rectangle
Constructs a bounding box by first validating the provided latitude and longitude coordinates
Rectangle(double, double, double, double, double, double) - Constructor for class org.elasticsearch.geometry.Rectangle
Constructs a bounding box by first validating the provided latitude and longitude coordinates
reset() - Method in class org.elasticsearch.geometry.simplify.GeometrySimplifier.MultiPolygonSimplifier
 
reset() - Method in class org.elasticsearch.geometry.simplify.GeometrySimplifier
When re-using a simplifier instance, call reset() to clear internal memory
reset() - Method in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
Initialize for simplifying using a stream of points.
reset(int, double, double) - Method in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.PointError
 
resetPoint(StreamingGeometrySimplifier.PointError, int, double, double) - Method in interface org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.PointResetter
 
rotate(SimplificationErrorCalculator.Point3D, double) - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.Point3D
Rotate this vector about the specified axis, by the specified angle in radian
RotationMatrix(double[][]) - Constructor for record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.RotationMatrix
Creates an instance of a RotationMatrix record class.
RotationMatrix(SimplificationErrorCalculator.Point3D, double) - Constructor for record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.RotationMatrix
 
RPAREN - Static variable in class org.elasticsearch.geometry.utils.WellKnownText
 

S

ShapeType - Enum Class in org.elasticsearch.geometry
Shape types supported by elasticsearch
SimplificationErrorCalculator - Interface in org.elasticsearch.geometry.simplify
 
SimplificationErrorCalculator.CartesianHeightAndBackpathDistanceCalculator - Class in org.elasticsearch.geometry.simplify
Estimate the error as the height of the point above the base, but including support for back-paths in the sense that of the point to be removed is father from either end than the height, we take that distance instead.
SimplificationErrorCalculator.CartesianTriangleAreaCalculator - Class in org.elasticsearch.geometry.simplify
Calculate the triangle area using cartesian coordinates as described at Area of a triangle
SimplificationErrorCalculator.Point3D - Record Class in org.elasticsearch.geometry.simplify
This record captures a point defined using a 3D vector (x, y, z)
SimplificationErrorCalculator.PointLike - Interface in org.elasticsearch.geometry.simplify
 
SimplificationErrorCalculator.RotationMatrix - Record Class in org.elasticsearch.geometry.simplify
This 3D rotation matrix allows for rotating 3D vectors (eg.
SimplificationErrorCalculator.SphericalHeightAndBackpathDistanceCalculator - Class in org.elasticsearch.geometry.simplify
Estimate the error as the height of the point above the base, but including support for back-paths in the sense that of the point to be removed is father from either end than the height, we take that distance instead.
SimplificationErrorCalculator.TriangleAreaCalculator - Class in org.elasticsearch.geometry.simplify
Calculate the triangle area using geographic coordinates and Herons formula (side lengths) as described at Area of a triangle
SimplificationErrorCalculator.TriangleHeightCalculator - Class in org.elasticsearch.geometry.simplify
Calculate the triangle area using geographic coordinates and Herons formula (side lengths) as described at Area of a triangle, but scale the area down by the inverse of the length of the base (left-right), which estimates the height of the triangle.
simplifierFor(G, int, SimplificationErrorCalculator, StreamingGeometrySimplifier.Monitor) - Static method in class org.elasticsearch.geometry.simplify.GeometrySimplifier
 
simplify(G) - Method in class org.elasticsearch.geometry.simplify.GeometrySimplifier.Identity
 
simplify(GeometryCollection<?>) - Method in class org.elasticsearch.geometry.simplify.GeometrySimplifier.GeometryCollections
 
simplify(Line) - Method in class org.elasticsearch.geometry.simplify.GeometrySimplifier.LineSimplifier
 
simplify(LinearRing) - Method in class org.elasticsearch.geometry.simplify.GeometrySimplifier.LinearRingSimplifier
 
simplify(MultiPolygon) - Method in class org.elasticsearch.geometry.simplify.GeometrySimplifier.MultiPolygonSimplifier
 
simplify(Polygon) - Method in class org.elasticsearch.geometry.simplify.GeometrySimplifier.PolygonSimplifier
 
simplify(T) - Method in class org.elasticsearch.geometry.simplify.GeometrySimplifier
Simplify an entire geometry in a non-streaming fashion
size() - Method in class org.elasticsearch.geometry.GeometryCollection
 
SloppyMath - Class in org.elasticsearch.geometry.simplify
Math functions that trade off accuracy for speed.
SloppyMath() - Constructor for class org.elasticsearch.geometry.simplify.SloppyMath
 
SPACE - Static variable in class org.elasticsearch.geometry.utils.WellKnownText
 
SPHERICAL_HEIGHT_AND_BACKPATH_DISTANCE - Static variable in interface org.elasticsearch.geometry.simplify.SimplificationErrorCalculator
 
SphericalHeightAndBackpathDistanceCalculator() - Constructor for class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.SphericalHeightAndBackpathDistanceCalculator
 
StandardValidator - Class in org.elasticsearch.geometry.utils
Validator that only checks that altitude only shows up if ignoreZValue is set to true.
startSimplification(String, int) - Method in interface org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.Monitor
When a new simplification or sub-simplification starts, this provides a description of the simplification, as well as the current maxPoints target for this simplification.
StreamingGeometrySimplifier<T extends Geometry> - Class in org.elasticsearch.geometry.simplify
The streaming geometry simplifier can only simplify geometries composed on a single list of Points provided on a stream.
StreamingGeometrySimplifier(String, int, SimplificationErrorCalculator, StreamingGeometrySimplifier.Monitor) - Constructor for class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier
 
StreamingGeometrySimplifier.LinearRingSimplifier - Class in org.elasticsearch.geometry.simplify
This behaves the same as the LineSimplifier except that it assumes the first and last point are the same point.
StreamingGeometrySimplifier.LineSimplifier - Class in org.elasticsearch.geometry.simplify
Simplifies a Line geometry to the specified maximum number of points.
StreamingGeometrySimplifier.Monitor - Interface in org.elasticsearch.geometry.simplify
Implementation of this interface will receive calls with internal data at each step of the simplification algorithm.
StreamingGeometrySimplifier.PointConstructor - Interface in org.elasticsearch.geometry.simplify
Override this method to use alternative objects within the algorithm.
StreamingGeometrySimplifier.PointError - Class in org.elasticsearch.geometry.simplify
Each point on the geometry has an error estimate, which is a measure of how much error would be introduced to the geometry should this point be removed from the geometry.
StreamingGeometrySimplifier.PointResetter - Interface in org.elasticsearch.geometry.simplify
Override this method to use alternative objects within the algorithm.
StreamingGeometrySimplifier.PolygonSimplifier - Class in org.elasticsearch.geometry.simplify
As with the LinearRingSimplifier, this works similarly to the LineSimplifier except that it assumes the and requires that first and last point are the same point.
stringEncode(double, double) - Static method in class org.elasticsearch.geometry.utils.Geohash
Encode to a geohash string from full resolution longitude, latitude)
stringEncode(double, double, int) - Static method in class org.elasticsearch.geometry.utils.Geohash
Encode to a level specific geohash string from full resolution longitude, latitude
stringEncode(long) - Static method in class org.elasticsearch.geometry.utils.Geohash
Encode to a geohash string from the geohash based long format

T

toBoundingBox(String) - Static method in class org.elasticsearch.geometry.utils.Geohash
Computes the bounding box coordinates from a given geohash
toPoint(String) - Static method in class org.elasticsearch.geometry.utils.Geohash
Returns a Point instance from a geohash string
toString() - Method in class org.elasticsearch.geometry.Circle
 
toString() - Method in class org.elasticsearch.geometry.GeometryCollection
 
toString() - Method in class org.elasticsearch.geometry.Line
 
toString() - Method in class org.elasticsearch.geometry.LinearRing
 
toString() - Method in class org.elasticsearch.geometry.Point
 
toString() - Method in class org.elasticsearch.geometry.Polygon
 
toString() - Method in class org.elasticsearch.geometry.Rectangle
 
toString() - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.Point3D
Returns a string representation of this record class.
toString() - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.RotationMatrix
Returns a string representation of this record class.
toString() - Method in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.PointError
 
toWKB(Geometry, ByteOrder) - Static method in class org.elasticsearch.geometry.utils.WellKnownBinary
Converts the given Geometry to WKB with the provided ByteOrder
toWKT(Geometry) - Static method in class org.elasticsearch.geometry.utils.WellKnownText
 
TRIANGLE_AREA - Static variable in interface org.elasticsearch.geometry.simplify.SimplificationErrorCalculator
 
TRIANGLE_HEIGHT - Static variable in interface org.elasticsearch.geometry.simplify.SimplificationErrorCalculator
 
TriangleAreaCalculator() - Constructor for class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.TriangleAreaCalculator
 
TriangleHeightCalculator() - Constructor for class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.TriangleHeightCalculator
 
type() - Method in class org.elasticsearch.geometry.Circle
 
type() - Method in interface org.elasticsearch.geometry.Geometry
 
type() - Method in class org.elasticsearch.geometry.GeometryCollection
 
type() - Method in class org.elasticsearch.geometry.Line
 
type() - Method in class org.elasticsearch.geometry.LinearRing
 
type() - Method in class org.elasticsearch.geometry.MultiLine
 
type() - Method in class org.elasticsearch.geometry.MultiPoint
 
type() - Method in class org.elasticsearch.geometry.MultiPolygon
 
type() - Method in class org.elasticsearch.geometry.Point
 
type() - Method in class org.elasticsearch.geometry.Polygon
 
type() - Method in class org.elasticsearch.geometry.Rectangle
 

V

validate(Geometry) - Method in class org.elasticsearch.geometry.utils.GeographyValidator
 
validate(Geometry) - Method in interface org.elasticsearch.geometry.utils.GeometryValidator
Validates the geometry and throws IllegalArgumentException if the geometry is not valid
validate(Geometry) - Method in class org.elasticsearch.geometry.utils.StandardValidator
 
valueOf(String) - Static method in enum class org.elasticsearch.geometry.ShapeType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.elasticsearch.geometry.ShapeType
Returns an array containing the constants of this enum class, in the order they are declared.
visit(Circle) - Method in interface org.elasticsearch.geometry.GeometryVisitor
 
visit(GeometryCollection<?>) - Method in interface org.elasticsearch.geometry.GeometryVisitor
 
visit(GeometryVisitor<T, E>) - Method in class org.elasticsearch.geometry.Circle
 
visit(GeometryVisitor<T, E>) - Method in interface org.elasticsearch.geometry.Geometry
 
visit(GeometryVisitor<T, E>) - Method in class org.elasticsearch.geometry.GeometryCollection
 
visit(GeometryVisitor<T, E>) - Method in class org.elasticsearch.geometry.Line
 
visit(GeometryVisitor<T, E>) - Method in class org.elasticsearch.geometry.LinearRing
 
visit(GeometryVisitor<T, E>) - Method in class org.elasticsearch.geometry.MultiLine
 
visit(GeometryVisitor<T, E>) - Method in class org.elasticsearch.geometry.MultiPoint
 
visit(GeometryVisitor<T, E>) - Method in class org.elasticsearch.geometry.MultiPolygon
 
visit(GeometryVisitor<T, E>) - Method in class org.elasticsearch.geometry.Point
 
visit(GeometryVisitor<T, E>) - Method in class org.elasticsearch.geometry.Polygon
 
visit(GeometryVisitor<T, E>) - Method in class org.elasticsearch.geometry.Rectangle
 
visit(Line) - Method in interface org.elasticsearch.geometry.GeometryVisitor
 
visit(LinearRing) - Method in interface org.elasticsearch.geometry.GeometryVisitor
 
visit(MultiLine) - Method in interface org.elasticsearch.geometry.GeometryVisitor
 
visit(MultiPoint) - Method in interface org.elasticsearch.geometry.GeometryVisitor
 
visit(MultiPolygon) - Method in interface org.elasticsearch.geometry.GeometryVisitor
 
visit(Point) - Method in interface org.elasticsearch.geometry.GeometryVisitor
 
visit(Polygon) - Method in interface org.elasticsearch.geometry.GeometryVisitor
 
visit(Rectangle) - Method in interface org.elasticsearch.geometry.GeometryVisitor
 

W

WellKnownBinary - Class in org.elasticsearch.geometry.utils
Utility class for converting Geometry to and from WKB
WellKnownText - Class in org.elasticsearch.geometry.utils
Utility class for converting to and from WKT

X

x() - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.Point3D
Returns the value of the x record component.
x() - Method in interface org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.PointLike
 
x() - Method in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.PointError
 

Y

y() - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.Point3D
Returns the value of the y record component.
y() - Method in interface org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.PointLike
 
y() - Method in class org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.PointError
 

Z

z() - Method in record class org.elasticsearch.geometry.simplify.SimplificationErrorCalculator.Point3D
Returns the value of the z record component.
A B C D E F G H I L M N O P Q R S T V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values