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
Fields in org.apache.lucene.document declared as XYPolygon Modifier and Type Field Description (package private) XYPolygon[]
XYShapePolygonQuery. polygons
Methods in org.apache.lucene.document with parameters of type XYPolygon Modifier and Type Method Description static Field[]
XYShape. createIndexableFields(java.lang.String fieldName, XYPolygon polygon)
create indexable fields for cartesian polygon geometrystatic Query
XYShape. newPolygonQuery(java.lang.String field, ShapeField.QueryRelation queryRelation, XYPolygon... polygons)
create a query to find all cartesian shapes that intersect a provided polygon (or array of polygons)Constructors in org.apache.lucene.document with parameters of type XYPolygon Constructor Description XYShapePolygonQuery(java.lang.String field, ShapeField.QueryRelation queryRelation, XYPolygon... polygons)
Creates a query that matches all indexed shapes to the provided polygons -
Uses of XYPolygon in org.apache.lucene.geo
Fields in org.apache.lucene.geo declared as XYPolygon Modifier and Type Field Description private XYPolygon[]
XYPolygon. holes
Methods in org.apache.lucene.geo that return XYPolygon Modifier and Type Method Description (package private) XYPolygon
XYPolygon. getHole(int i)
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 Component2D
XYPolygon2D. create(XYPolygon... polygons)
Builds a Polygon2D from multipolygonprivate static Tessellator.Node
Tessellator. eliminateHoles(XYPolygon polygon, Tessellator.Node outerNode)
static java.util.List<Tessellator.Triangle>
Tessellator. tessellate(XYPolygon polygon)
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.XYPolygon2D(XYPolygon polygon, Component2D holes)
-