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 |
---|---|
private Component2D |
LatLonShapeLineQuery.line2D |
private Component2D |
XYShapeLineQuery.line2D |
private Component2D |
XYShapePolygonQuery.poly2D |
private Component2D |
LatLonShapePolygonQuery.poly2D |
(package private) Component2D |
XYShapeBoundingBoxQuery.rectangle2D |
Modifier and Type | Method and Description |
---|---|
private PointValues.IntersectVisitor |
LatLonPointInPolygonQuery.getIntersectVisitor(DocIdSetBuilder result,
Component2D tree,
GeoEncodingUtils.PolygonPredicate polygonPredicate,
byte[] minLat,
byte[] maxLat,
byte[] minLon,
byte[] maxLon) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
ComponentTree
2D multi-component geometry implementation represented as an interval tree of components.
|
class |
Line2D
2D geo line implementation represented as a balanced interval tree of edges.
|
class |
Polygon2D
2D polygon implementation represented as a balanced interval tree of edges.
|
class |
XYPolygon2D
2D cartesian polygon implementation represented as a balanced interval tree of edges.
|
class |
XYRectangle2D
2D rectangle implementation containing cartesian spatial logic.
|
Modifier and Type | Field and Description |
---|---|
private Component2D |
ComponentTree.component
root node of edge tree
|
protected Component2D |
Polygon2D.holes
tree of holes, or null
|
private Component2D |
ComponentTree.left |
private Component2D |
ComponentTree.right |
private Component2D |
GeoEncodingUtils.PolygonPredicate.tree |
Modifier and Type | Method and Description |
---|---|
static Component2D |
ComponentTree.create(Component2D[] components)
Creates tree from provided components
|
static Component2D |
Line2D.create(Line... lines)
create a Line2D edge tree from provided array of Linestrings
|
static Component2D |
Polygon2D.create(Polygon... polygons)
Builds a Polygon2D from multipolygon
|
static Component2D |
Line2D.create(XYLine... lines)
create a Line2D edge tree from provided array of Linestrings
|
static Component2D |
XYPolygon2D.create(XYPolygon... polygons)
Builds a Polygon2D from multipolygon
|
static Component2D |
XYRectangle2D.create(XYRectangle... rectangles)
create a component2D from provided array of rectangles
|
Modifier and Type | Method and Description |
---|---|
static Component2D |
ComponentTree.create(Component2D[] components)
Creates tree from provided components
|
static GeoEncodingUtils.PolygonPredicate |
GeoEncodingUtils.createComponentPredicate(Component2D tree)
Create a predicate that checks whether points are within a polygon.
|
private static ComponentTree |
ComponentTree.createTree(Component2D[] components,
int low,
int high,
boolean splitX)
Creates tree from sorted components (with range low and high inclusive)
|
Constructor and Description |
---|
ComponentTree(Component2D component,
boolean splitX) |
Polygon2D(double minX,
double maxX,
double minY,
double maxY,
double[] x,
double[] y,
Component2D holes) |
Polygon2D(Polygon polygon,
Component2D holes) |
PolygonPredicate(int latShift,
int lonShift,
int latBase,
int lonBase,
int maxLatDelta,
int maxLonDelta,
byte[] relations,
Component2D tree) |
XYPolygon2D(XYPolygon polygon,
Component2D holes) |