A B C D E F G H I L M N O P R S T V W 
All Classes All Packages

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.

B

BitUtil - Class in org.elasticsearch.geometry.utils
Utilities for common Bit twiddling methods.
BitUtil() - Constructor for class org.elasticsearch.geometry.utils.BitUtil
 

C

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 - org.elasticsearch.geometry.ShapeType
 
COMMA - Static variable in class org.elasticsearch.geometry.utils.WellKnownText
 

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

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
ENVELOPE - 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
 

F

flipFlop(long) - Static method in class org.elasticsearch.geometry.utils.BitUtil
flip flops odd with even bits
forName(String) - Static method in enum org.elasticsearch.geometry.ShapeType
 
fromWKT(String) - 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 - org.elasticsearch.geometry.ShapeType
 
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 java.lang.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
 
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
 
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
 
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
 

I

INSTANCE - Static variable in class org.elasticsearch.geometry.utils.WellKnownText
 
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
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

length() - Method in class org.elasticsearch.geometry.Line
 
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 - org.elasticsearch.geometry.ShapeType
 
LINESTRING - 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)
LPAREN - Static variable in class org.elasticsearch.geometry.utils.WellKnownText
 

M

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 - org.elasticsearch.geometry.ShapeType
 
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 - org.elasticsearch.geometry.ShapeType
 
MultiPolygon - Class in org.elasticsearch.geometry
Collection of polygons
MultiPolygon(List<Polygon>) - Constructor for class org.elasticsearch.geometry.MultiPolygon
 
MULTIPOLYGON - org.elasticsearch.geometry.ShapeType
 

N

NAN - Static variable in class org.elasticsearch.geometry.utils.WellKnownText
 

O

org.elasticsearch.geometry - package org.elasticsearch.geometry
Common Geometry classes
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 - org.elasticsearch.geometry.ShapeType
 
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 - org.elasticsearch.geometry.ShapeType
 
PRECISION - Static variable in class org.elasticsearch.geometry.utils.Geohash
maximum precision for geohash strings

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
RPAREN - Static variable in class org.elasticsearch.geometry.utils.WellKnownText
 

S

ShapeType - Enum in org.elasticsearch.geometry
Shape types supported by elasticsearch
size() - Method in class org.elasticsearch.geometry.GeometryCollection
 
SPACE - Static variable in class org.elasticsearch.geometry.utils.WellKnownText
 
StandardValidator - Class in org.elasticsearch.geometry.utils
Validator that only checks that altitude only shows up if ignoreZValue is set to true.
StandardValidator(boolean) - Constructor for class org.elasticsearch.geometry.utils.StandardValidator
 
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
 
toWKT(Geometry) - Method in class org.elasticsearch.geometry.utils.WellKnownText
 
toWKT(Geometry, StringBuilder) - Method in class org.elasticsearch.geometry.utils.WellKnownText
 
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 org.elasticsearch.geometry.ShapeType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.elasticsearch.geometry.ShapeType
Returns an array containing the constants of this enum type, 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

WellKnownText - Class in org.elasticsearch.geometry.utils
Utility class for converting to and from WKT
WellKnownText(boolean, GeometryValidator) - Constructor for class org.elasticsearch.geometry.utils.WellKnownText
 
A B C D E F G H I L M N O P R S T V W 
All Classes All Packages