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
LatLonDocValuesQuery. component2D
(package private) Component2D
SpatialQuery. queryComponent2D
Methods in org.apache.lucene.document that return Component2D Modifier and Type Method Description protected Component2D
LatLonPointQuery. createComponent2D(Geometry... geometries)
protected Component2D
LatLonShapeBoundingBoxQuery. createComponent2D(Geometry... geometries)
protected Component2D
LatLonShapeDocValuesQuery. createComponent2D(Geometry... geometries)
protected Component2D
LatLonShapeQuery. createComponent2D(Geometry... geometries)
protected abstract Component2D
SpatialQuery. createComponent2D(Geometry... geometries)
protected Component2D
XYShapeDocValuesQuery. createComponent2D(Geometry... geometries)
protected Component2D
XYShapeQuery. createComponent2D(Geometry... geometries)
Methods in org.apache.lucene.document with parameters of type Component2D Modifier and Type Method Description private PointValues.IntersectVisitor
XYPointInGeometryQuery. getIntersectVisitor(DocIdSetBuilder result, Component2D tree)
(package private) static SpatialQuery.SpatialVisitor
LatLonShapeQuery. getSpatialVisitor(Component2D component2D)
(package private) static SpatialQuery.SpatialVisitor
XYShapeQuery. getSpatialVisitor(Component2D component2D)
protected boolean
BaseShapeDocValuesQuery. matchesComponent(ShapeDocValues dv, ShapeField.QueryRelation queryRelation, Component2D component)
PointValues.Relation
ShapeDocValues. relate(Component2D component)
PointValues.Relation
ShapeDocValues.ShapeComparator. relate(Component2D query)
Computes a query component relation with the doc value shape; main entry point to the root of the binary treeprivate PointValues.Relation
ShapeDocValues.ShapeComparator. relate(Component2D queryComponent2D, boolean splitX, int pMaxX, int pMaxY, int nodeSize)
recursive traversal method recurses through tree nodes to compute relation with the query componentprivate PointValues.Relation
ShapeDocValues.ShapeComparator. relateComponent(ShapeField.DecodedTriangle.TYPE type, SpatialQuery.EncodedRectangle bbox, int pMaxX, int pMaxY, double x, Component2D queryComponent2D)
relates the component based on type (POINT, LINE, TRIANGLE)private PointValues.Relation
ShapeDocValues.ShapeComparator. relateLine(SpatialQuery.EncodedRectangle bbox, int pMaxX, int pMaxY, double ax, Component2D query)
private PointValues.Relation
ShapeDocValues.ShapeComparator. relatePoint(SpatialQuery.EncodedRectangle bbox, int pMaxY, double ax, Component2D query)
private PointValues.Relation
ShapeDocValues.ShapeComparator. relateTriangle(SpatialQuery.EncodedRectangle bbox, int pMaxX, int pMaxY, double ax, Component2D queryComponent2D)
-
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
Circle2D
2D circle implementation containing spatial logic.(package private) class
ComponentTree
2D multi-component geometry implementation represented as an interval tree of components.(package private) class
Line2D
2D geo line implementation represented as a balanced interval tree of edges.(package private) class
Point2D
2D point implementation containing geo spatial logic.(package private) class
Polygon2D
2D polygon implementation represented as a balanced interval tree of edges.(package private) class
Rectangle2D
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.Component2DPredicate. tree
Methods in org.apache.lucene.geo that return Component2D Modifier and Type Method Description (package private) static Component2D
Circle2D. create(Circle circle)
Builds a Circle2D from Circle.(package private) static Component2D
Circle2D. create(XYCircle circle)
Builds a XYCircle2D from XYCircle.(package private) static Component2D
ComponentTree. create(Component2D[] components)
Creates tree from provided componentsstatic Component2D
LatLonGeometry. create(LatLonGeometry... latLonGeometries)
Creates a Component2D from the provided LatLonGeometry array(package private) static Component2D
Line2D. create(Line line)
create a Line2D from the provided LatLon Linestring(package private) static Component2D
Line2D. create(XYLine line)
create a Line2D from the provided XY Linestring(package private) static Component2D
Point2D. create(Point point)
create a Point2D component tree from a LatLon point(package private) static Component2D
Point2D. create(XYPoint xyPoint)
create a Point2D component tree from a XY point(package private) static Component2D
Polygon2D. create(Polygon polygon)
Builds a Polygon2D from LatLon polygon(package private) static Component2D
Polygon2D. create(XYPolygon polygon)
Builds a Polygon2D from XY polygon(package private) static Component2D
Rectangle2D. create(Rectangle rectangle)
create a component2D from the provided LatLon rectangle(package private) static Component2D
Rectangle2D. create(XYRectangle rectangle)
create a component2D from the provided XY rectanglestatic Component2D
XYGeometry. create(XYGeometry... xyGeometries)
Creates a Component2D from the provided XYGeometries arrayprotected Component2D
Circle. toComponent2D()
protected abstract Component2D
Geometry. toComponent2D()
get a Component2D from the geometry objectprotected Component2D
Line. toComponent2D()
protected Component2D
Point. toComponent2D()
protected Component2D
Polygon. toComponent2D()
protected Component2D
Rectangle. toComponent2D()
protected Component2D
XYCircle. toComponent2D()
protected Component2D
XYLine. toComponent2D()
protected Component2D
XYPoint. toComponent2D()
protected Component2D
XYPolygon. toComponent2D()
protected Component2D
XYRectangle. toComponent2D()
Methods in org.apache.lucene.geo with parameters of type Component2D Modifier and Type Method Description (package private) static Component2D
ComponentTree. create(Component2D[] components)
Creates tree from provided componentsstatic GeoEncodingUtils.Component2DPredicate
GeoEncodingUtils. createComponentPredicate(Component2D tree)
Create a predicate that checks whether points are within a geometry.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 Component2DPredicate(int latShift, int lonShift, int latBase, int lonBase, int maxLatDelta, int maxLonDelta, byte[] relations, Component2D tree)
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)
Polygon2D(XYPolygon polygon, Component2D holes)
-