Uses of Class
org.apache.lucene.geo.XYPolygon
-
Packages that use XYPolygon Package Description org.apache.lucene.document The logical representation of aDocument
for indexing and searching.org.apache.lucene.geo Geospatial Utility Implementations for Lucene Core -
-
Uses of XYPolygon in org.apache.lucene.document
Methods in org.apache.lucene.document with parameters of type XYPolygon Modifier and Type Method Description static XYShapeDocValuesField
XYShape. createDocValueField(String fieldName, XYPolygon polygon)
create doc value field for X,Y polygon geometry without creating indexable fieldsstatic XYShapeDocValuesField
XYShape. createDocValueField(String fieldName, XYPolygon polygon, boolean checkSelfIntersections)
create doc value field for lat lon polygon geometry without creating indexable fields.static Field[]
XYShape. createIndexableFields(String fieldName, XYPolygon polygon)
create indexable fields for cartesian polygon geometrystatic Field[]
XYShape. createIndexableFields(String fieldName, XYPolygon polygon, boolean checkSelfIntersections)
create indexable fields for cartesian polygon geometry.static Query
XYPointField. newPolygonQuery(String field, XYPolygon... polygons)
Create a query for matching one or more polygons.static Query
XYShape. newPolygonQuery(String field, ShapeField.QueryRelation queryRelation, XYPolygon... polygons)
create a query to find all cartesian shapes that intersect a provided polygon (or array of polygons) *static Query
XYDocValuesField. newSlowPolygonQuery(String field, XYPolygon... polygons)
Create a query for matching points within the supplied polygons. -
Uses of XYPolygon in org.apache.lucene.geo
Methods in org.apache.lucene.geo that return XYPolygon Modifier and Type Method Description XYPolygon[]
XYPolygon. getHoles()
Returns a copy of the internal holes arrayMethods in org.apache.lucene.geo with parameters of type XYPolygon Modifier and Type Method Description static List<Tessellator.Triangle>
Tessellator. tessellate(XYPolygon polygon, boolean checkSelfIntersections)
static List<Tessellator.Triangle>
Tessellator. tessellate(XYPolygon polygon, boolean checkSelfIntersections, Tessellator.Monitor monitor)
Constructors in org.apache.lucene.geo with parameters of type XYPolygon Constructor Description XYPolygon(float[] x, float[] y, XYPolygon... holes)
Creates a new Polygon from the supplied x, y arrays, and optionally any holes.
-