Package | Description |
---|---|
org.apache.lucene.geo |
Geospatial Utility Implementations for Lucene Core
|
Modifier and Type | Class and Description |
---|---|
class |
Polygon2D
2D polygon implementation represented as a balanced interval tree of edges.
|
Modifier and Type | Field and Description |
---|---|
protected Component2D |
Polygon2D.holes
tree of holes, or null
|
Modifier and Type | Method and Description |
---|---|
static Component2D |
Polygon2D.create(Polygon... polygons)
Builds a Polygon2D from multipolygon
|
Modifier and Type | Method and Description |
---|---|
static GeoEncodingUtils.PolygonPredicate |
GeoEncodingUtils.createComponentPredicate(Component2D tree)
Create a predicate that checks whether points are within a polygon.
|
Constructor and Description |
---|
Polygon2D(double minX,
double maxX,
double minY,
double maxY,
double[] x,
double[] y,
Component2D holes) |
Polygon2D(Polygon polygon,
Component2D holes) |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.