Package | Description |
---|---|
org.apache.lucene.document |
This package contains several point types:
BigIntegerPoint for 128-bit integers
LatLonPoint for latitude/longitude geospatial points
|
org.apache.lucene.geo |
This package contains geo utility classes:
Tessellator for decomposing shapes into a triangular mesh
|
Modifier and Type | Method and Description |
---|---|
static Field[] |
XYShape.createIndexableFields(String fieldName,
XYPolygon polygon)
create indexable fields for cartesian polygon geometry
|
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)
|
Modifier and Type | Method and Description |
---|---|
XYPolygon[] |
XYPolygon.getHoles()
Returns a copy of the internal holes array
|
Modifier and Type | Method and Description |
---|---|
static XYPolygon2D |
XYPolygon2D.create(XYPolygon... polygons)
Builds a Polygon2D from multipolygon
|
static List<Tessellator.Triangle> |
Tessellator.tessellate(XYPolygon polygon) |
Constructor and 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,
XYPolygon2D holes) |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.