Uses of Class
org.apache.lucene.geo.Polygon
-
Packages that use Polygon Package Description org.apache.lucene.document The logical representation of aDocumentfor indexing and searching.org.apache.lucene.geo Geospatial Utility Implementations for Lucene Core -
-
Uses of Polygon in org.apache.lucene.document
Methods in org.apache.lucene.document with parameters of type Polygon Modifier and Type Method Description static QueryLatLonPoint. newPolygonQuery(String field, Polygon... polygons)Create a query for matching one or more polygons. -
Uses of Polygon in org.apache.lucene.geo
Methods in org.apache.lucene.geo that return Polygon Modifier and Type Method Description static Polygon[]Polygon. fromGeoJSON(String geojson)Parses a standard GeoJSON polygon string.Polygon[]Polygon. getHoles()Returns a copy of the internal holes arrayMethods in org.apache.lucene.geo with parameters of type Polygon Modifier and Type Method Description static Polygon2DPolygon2D. create(Polygon... polygons)Builds a Polygon2D from multipolygonstatic GeoEncodingUtils.PolygonPredicateGeoEncodingUtils. createPolygonPredicate(Polygon[] polygons, Polygon2D tree)Create a predicate that checks whether points are within a polygon.static RectangleRectangle. fromPolygon(Polygon[] polygons)Returns the bounding box over an array of polygonsConstructors in org.apache.lucene.geo with parameters of type Polygon Constructor Description Polygon(double[] polyLats, double[] polyLons, Polygon... holes)Creates a new Polygon from the supplied latitude/longitude array, and optionally any holes.
-