Uses of Interface
org.apache.lucene.geo.Component2D
-
Packages that use Component2D Package Description org.apache.lucene.document The logical representation of aDocument
for indexing and searching.org.apache.lucene.geo Geospatial Utility Implementations for Lucene Core -
-
Uses of Component2D in org.apache.lucene.document
Fields in org.apache.lucene.document declared as Component2D Modifier and Type Field Description private Component2D
LatLonShapeLineQuery. line2D
private Component2D
XYShapeLineQuery. line2D
private Component2D
LatLonShapePolygonQuery. poly2D
private Component2D
XYShapePolygonQuery. poly2D
(package private) Component2D
XYShapeBoundingBoxQuery. rectangle2D
Methods in org.apache.lucene.document with parameters of type Component2D Modifier and Type Method Description private PointValues.IntersectVisitor
LatLonPointInPolygonQuery. getIntersectVisitor(DocIdSetBuilder result, Component2D tree, GeoEncodingUtils.PolygonPredicate polygonPredicate, byte[] minLat, byte[] maxLat, byte[] minLon, byte[] maxLon)
-
Uses of Component2D in org.apache.lucene.geo
Classes in org.apache.lucene.geo that implement Component2D Modifier and Type Class 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.Fields in org.apache.lucene.geo declared as Component2D Modifier and Type Field Description private Component2D
ComponentTree. component
root node of edge treeprotected Component2D
Polygon2D. holes
tree of holes, or nullprivate Component2D
ComponentTree. left
private Component2D
ComponentTree. right
private Component2D
GeoEncodingUtils.PolygonPredicate. tree
Methods in org.apache.lucene.geo that return Component2D Modifier and Type Method Description static Component2D
ComponentTree. create(Component2D[] components)
Creates tree from provided componentsstatic Component2D
Line2D. create(Line... lines)
create a Line2D edge tree from provided array of Linestringsstatic Component2D
Line2D. create(XYLine... lines)
create a Line2D edge tree from provided array of Linestringsstatic Component2D
Polygon2D. create(Polygon... polygons)
Builds a Polygon2D from multipolygonstatic Component2D
XYPolygon2D. create(XYPolygon... polygons)
Builds a Polygon2D from multipolygonstatic Component2D
XYRectangle2D. create(XYRectangle... rectangles)
create a component2D from provided array of rectanglesMethods in org.apache.lucene.geo with parameters of type Component2D Modifier and Type Method Description static Component2D
ComponentTree. create(Component2D[] components)
Creates tree from provided componentsstatic 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)Constructors in org.apache.lucene.geo with parameters of type Component2D Constructor 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)
-