Package org.apache.lucene.geo
Geospatial Utility Implementations for Lucene Core
-
Interface Summary Interface Description 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.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.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.Point Represents a point on the earth's surface.Polygon Represents a closed polygon on the earth's surface.Rectangle Represents a lat/lon rectangle.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 Shapes