Uses of Interface
org.apache.lucene.geo.Component2D
Packages that use Component2D
Package
Description
The logical representation of a
Document
for indexing and
searching.Geospatial Utility Implementations for Lucene Core
-
Uses of Component2D in org.apache.lucene.document
Fields in org.apache.lucene.document declared as Component2DModifier and TypeFieldDescriptionprivate final Component2D
LatLonDocValuesQuery.component2D
(package private) final Component2D
SpatialQuery.queryComponent2D
Methods in org.apache.lucene.document that return Component2DModifier and TypeMethodDescriptionprotected 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 Component2DModifier and TypeMethodDescriptionprivate 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) ShapeDocValues.relate
(Component2D component) 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 Component2DModifier and TypeClassDescription(package private) class
2D circle implementation containing spatial logic.(package private) final class
2D multi-component geometry implementation represented as an interval tree of components.(package private) final class
2D geo line implementation represented as a balanced interval tree of edges.(package private) final class
2D point implementation containing geo spatial logic.(package private) final class
2D polygon implementation represented as a balanced interval tree of edges.(package private) final class
2D rectangle implementation containing cartesian spatial logic.Fields in org.apache.lucene.geo declared as Component2DModifier and TypeFieldDescriptionprivate final Component2D
ComponentTree.component
root node of edge treeprotected final Component2D
Polygon2D.holes
tree of holes, or nullprivate Component2D
ComponentTree.left
private Component2D
ComponentTree.right
private final Component2D
GeoEncodingUtils.Component2DPredicate.tree
Methods in org.apache.lucene.geo that return Component2DModifier and TypeMethodDescription(package private) static Component2D
Builds a Circle2D from Circle.(package private) static Component2D
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
create a Line2D from the provided LatLon Linestring(package private) static Component2D
create a Line2D from the provided XY Linestring(package private) static Component2D
create a Point2D component tree from a LatLon point(package private) static Component2D
create a Point2D component tree from a XY point(package private) static Component2D
Builds a Polygon2D from LatLon polygon(package private) static Component2D
Builds a Polygon2D from XY polygon(package private) static Component2D
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 Component2DModifier and TypeMethodDescription(package private) static Component2D
ComponentTree.create
(Component2D[] components) Creates tree from provided componentsGeoEncodingUtils.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 Component2DModifierConstructorDescriptionprivate
Component2DPredicate
(int latShift, int lonShift, int latBase, int lonBase, int maxLatDelta, int maxLonDelta, byte[] relations, Component2D tree) private
ComponentTree
(Component2D component, boolean splitX) private
Polygon2D
(double minX, double maxX, double minY, double maxY, double[] x, double[] y, Component2D holes) private
Polygon2D
(Polygon polygon, Component2D holes) private
Polygon2D
(XYPolygon polygon, Component2D holes)