Module org.apache.lucene.core
Package org.apache.lucene.geo
Geospatial Utility Implementations for Lucene Core
-
Interface Summary Interface Description Circle2D.DistanceCalculator Component2D 2D Geometry object that supports spatial relationships with bounding boxes, triangles and points.Tessellator.Monitor Implementation of this interface will receive calls with internal data at each step of the triangulation algorithm. -
Class Summary Class Description Circle Represents a circle on the earth's surface.Circle2D 2D circle implementation containing spatial logic.Circle2D.CartesianDistance Circle2D.HaversinDistance ComponentTree 2D multi-component geometry implementation represented as an interval tree of components.EdgeTree Internal tree node: represents geometry edge from [x1, y1] to [x2, y2].GeoEncodingUtils reusable geopoint encoding methodsGeoEncodingUtils.Component2DPredicate A predicate that checks whether a given point is within a component2D geometry.GeoEncodingUtils.DistancePredicate A predicate that checks whether a given point is within a distance of another point.GeoEncodingUtils.Grid Geometry Base class forLatLonGeometry
andXYGeometry
GeoUtils Basic reusable geo-spatial utility methodsLatLonGeometry Lat/Lon Geometry object.Line Represents a line on the earth's surface.Line2D 2D geo line implementation represented as a balanced interval tree of edges.Point Represents a point on the earth's surface.Point2D 2D point implementation containing geo spatial logic.Polygon Represents a closed polygon on the earth's surface.Polygon2D 2D polygon implementation represented as a balanced interval tree of edges.Rectangle Represents a lat/lon rectangle.Rectangle2D 2D rectangle implementation containing cartesian spatial logic.SimpleGeoJSONPolygonParser Does minimal parsing of a GeoJSON object, to extract either Polygon or MultiPolygon, either directly as the top-level type, or if the top-level type is Feature, as the geometry of that feature.SimpleWKTShapeParser Parses shape geometry represented in WKT formatTessellator Computes a triangular mesh tessellation for a given polygon.Tessellator.Node Circular Doubly-linked list used for polygon coordinatesTessellator.Triangle Triangle in the tessellated meshXYCircle Represents a circle on the XY plane.XYEncodingUtils reusable cartesian geometry encoding methodsXYGeometry Cartesian Geometry object.XYLine Represents a line in cartesian space.XYPoint Represents a point on the earth's surface.XYPolygon Represents a polygon in cartesian space.XYRectangle Represents a x/y cartesian rectangle. -
Enum Summary Enum Description Component2D.WithinRelation Used by withinTriangle to check the within relationship between a triangle and the query shape (e.g.GeoUtils.WindingOrder used to define the orientation of 3 points -1 = Clockwise 0 = Colinear 1 = Counter-clockwiseSimpleWKTShapeParser.ShapeType Enumerated type for ShapesTessellator.State state of the tessellated split - avoids recursion