| Package | Description |
|---|---|
| org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
| org.apache.lucene.geo |
Geospatial Utility Implementations for Lucene Core
|
| Modifier and Type | Field and Description |
|---|---|
(package private) Polygon[] |
LatLonPointInPolygonQuery.polygons |
| Modifier and Type | Method and Description |
|---|---|
Polygon[] |
LatLonPointInPolygonQuery.getPolygons()
Returns a copy of the internal polygon array
|
| Modifier and Type | Method and Description |
|---|---|
static Query |
LatLonPoint.newPolygonQuery(java.lang.String field,
Polygon... polygons)
Create a query for matching one or more polygons.
|
| Constructor and Description |
|---|
LatLonPointInPolygonQuery(java.lang.String field,
Polygon[] polygons) |
| Modifier and Type | Field and Description |
|---|---|
private Polygon[] |
Polygon.holes |
| Modifier and Type | Method and Description |
|---|---|
Polygon[] |
Polygon.getHoles()
Returns a copy of the internal holes array
|
| Modifier and Type | Method and Description |
|---|---|
static Polygon2D |
Polygon2D.create(Polygon... polygons)
Builds a Polygon2D from multipolygon
|
static Rectangle |
Rectangle.fromPolygon(Polygon[] polygons)
Returns the bounding box over an array of polygons
|
| Constructor and Description |
|---|
Polygon(double[] polyLats,
double[] polyLons,
Polygon... holes)
Creates a new Polygon from the supplied latitude/longitude array, and optionally any holes.
|
Polygon2D(Polygon polygon,
Polygon2D holes) |