Package | Description |
---|---|
org.apache.lucene.geo |
Geospatial Utility Implementations for Lucene Core
|
Modifier and Type | Field and Description |
---|---|
private Polygon2D |
Polygon2D.holes
tree of holes, or null
|
private Polygon2D |
Polygon2D.left |
private Polygon2D |
Polygon2D.right |
private Polygon2D |
GeoEncodingUtils.PolygonPredicate.tree |
Modifier and Type | Method and Description |
---|---|
static Polygon2D |
Polygon2D.create(Polygon... polygons)
Builds a Polygon2D from multipolygon
|
private static Polygon2D |
Polygon2D.createTree(Polygon2D[] components,
int low,
int high,
boolean splitX)
Creates tree from sorted components (with range low and high inclusive)
|
Modifier and Type | Method and Description |
---|---|
static GeoEncodingUtils.PolygonPredicate |
GeoEncodingUtils.createPolygonPredicate(Polygon[] polygons,
Polygon2D tree)
Create a predicate that checks whether points are within a polygon.
|
private static Polygon2D |
Polygon2D.createTree(Polygon2D[] components,
int low,
int high,
boolean splitX)
Creates tree from sorted components (with range low and high inclusive)
|
Constructor and Description |
---|
Polygon2D(Polygon polygon,
Polygon2D holes) |
PolygonPredicate(int latShift,
int lonShift,
int latBase,
int lonBase,
int maxLatDelta,
int maxLonDelta,
byte[] relations,
Polygon2D tree) |