Uses of Interface
org.locationtech.spatial4j.shape.Point
-
-
Uses of Point in org.apache.lucene.spatial
Methods in org.apache.lucene.spatial with parameters of type Point Modifier and Type Method Description DoubleValuesSourceSpatialStrategy. makeDistanceValueSource(Point queryPoint)SeeSpatialStrategy.makeDistanceValueSource(org.locationtech.spatial4j.shape.Point, double)called with a multiplier of 1.0 (i.e.abstract DoubleValuesSourceSpatialStrategy. makeDistanceValueSource(Point queryPoint, double multiplier)Make a ValueSource returning the distance between the center of the indexed shape andqueryPoint. -
Uses of Point in org.apache.lucene.spatial.prefix
Methods in org.apache.lucene.spatial.prefix that return Point Modifier and Type Method Description protected PointPointPrefixTreeFieldCacheProvider. readShape(BytesRef term)Methods in org.apache.lucene.spatial.prefix with parameters of type Point Modifier and Type Method Description DoubleValuesSourcePrefixTreeStrategy. makeDistanceValueSource(Point queryPoint, double multiplier) -
Uses of Point in org.apache.lucene.spatial.prefix.tree
Methods in org.apache.lucene.spatial.prefix.tree with parameters of type Point Modifier and Type Method Description protected CellGeohashPrefixTree. getCell(Point p, int level)CellPackedQuadPrefixTree. getCell(Point p, int level)CellQuadPrefixTree. getCell(Point p, int level)protected abstract LegacyCellLegacyCell. getSubCell(Point p)Performant implementations are expected to implement this efficiently by considering the current cell's boundary.protected QuadPrefixTree.QuadCellPackedQuadPrefixTree.PackedQuadCell. getSubCell(Point p)protected QuadPrefixTree.QuadCellQuadPrefixTree.QuadCell. getSubCell(Point p) -
Uses of Point in org.apache.lucene.spatial.util
Constructors in org.apache.lucene.spatial.util with parameters of type Point Constructor Description ShapeFieldCacheDistanceValueSource(SpatialContext ctx, ShapeFieldCacheProvider<Point> provider, Point from, double multiplier)Constructor parameters in org.apache.lucene.spatial.util with type arguments of type Point Constructor Description ShapeFieldCacheDistanceValueSource(SpatialContext ctx, ShapeFieldCacheProvider<Point> provider, Point from, double multiplier) -
Uses of Point in org.elasticsearch.common.geo.builders
Methods in org.elasticsearch.common.geo.builders that return Point Modifier and Type Method Description PointPointBuilder. buildS4J()Methods in org.elasticsearch.common.geo.builders that return types with arguments of type Point Modifier and Type Method Description XShapeCollection<Point>MultiPointBuilder. buildS4J() -
Uses of Point in org.locationtech.spatial4j.context
Methods in org.locationtech.spatial4j.context that return Point Modifier and Type Method Description PointSpatialContext. makePoint(double x, double y)Deprecated.Methods in org.locationtech.spatial4j.context with parameters of type Point Modifier and Type Method Description doubleSpatialContext. calcDistance(Point p, double x2, double y2)Convenience that usesSpatialContext.getDistCalc()doubleSpatialContext. calcDistance(Point p, Point p2)Convenience that usesSpatialContext.getDistCalc()CircleSpatialContext. makeCircle(Point point, double distance)Deprecated.RectangleSpatialContext. makeRectangle(Point lowerLeft, Point upperRight)Deprecated.Method parameters in org.locationtech.spatial4j.context with type arguments of type Point Modifier and Type Method Description ShapeSpatialContext. makeBufferedLineString(List<Point> points, double buf)Deprecated.ShapeSpatialContext. makeLineString(List<Point> points)Deprecated. -
Uses of Point in org.locationtech.spatial4j.distance
Methods in org.locationtech.spatial4j.distance that return Point Modifier and Type Method Description PointCartesianDistCalc. pointOnBearing(Point from, double distDEG, double bearingDEG, SpatialContext ctx, Point reuse)PointDistanceCalculator. pointOnBearing(Point from, double distDEG, double bearingDEG, SpatialContext ctx, Point reuse)Calculates where a destination point is given an origin (from) distance, and bearing (given in degrees -- 0-360).PointGeodesicSphereDistCalc. pointOnBearing(Point from, double distDEG, double bearingDEG, SpatialContext ctx, Point reuse)static PointDistanceUtils. pointOnBearingRAD(double startLat, double startLon, double distanceRAD, double bearingRAD, SpatialContext ctx, Point reuse)Given a start point (startLat, startLon), distance, and a bearing on a sphere, return the destination point.Methods in org.locationtech.spatial4j.distance with parameters of type Point Modifier and Type Method Description RectangleCartesianDistCalc. calcBoxByDistFromPt(Point from, double distDEG, SpatialContext ctx, Rectangle reuse)RectangleDistanceCalculator. calcBoxByDistFromPt(Point from, double distDEG, SpatialContext ctx, Rectangle reuse)Calculates the bounding box of a circle, as specified by its center point and distance.RectangleGeodesicSphereDistCalc. calcBoxByDistFromPt(Point from, double distDEG, SpatialContext ctx, Rectangle reuse)doubleCartesianDistCalc. calcBoxByDistFromPt_yHorizAxisDEG(Point from, double distDEG, SpatialContext ctx)doubleDistanceCalculator. calcBoxByDistFromPt_yHorizAxisDEG(Point from, double distDEG, SpatialContext ctx)TheYcoordinate of the horizontal axis of a circle that has maximum width.doubleGeodesicSphereDistCalc. calcBoxByDistFromPt_yHorizAxisDEG(Point from, double distDEG, SpatialContext ctx)doubleAbstractDistanceCalculator. distance(Point from, Point to)doubleCartesianDistCalc. distance(Point from, double toX, double toY)doubleDistanceCalculator. distance(Point from, double toX, double toY)The distance betweenfromandPoint(toX,toY).doubleDistanceCalculator. distance(Point from, Point to)The distance betweenfromandto.doubleGeodesicSphereDistCalc. distance(Point from, double toX, double toY)doubleCartesianDistCalc. distanceToLineSegment(Point point, double vX, double vY, double wX, double wY)Distance from point to a line segment formed between points 'v' and 'w'.PointCartesianDistCalc. pointOnBearing(Point from, double distDEG, double bearingDEG, SpatialContext ctx, Point reuse)PointDistanceCalculator. pointOnBearing(Point from, double distDEG, double bearingDEG, SpatialContext ctx, Point reuse)Calculates where a destination point is given an origin (from) distance, and bearing (given in degrees -- 0-360).PointGeodesicSphereDistCalc. pointOnBearing(Point from, double distDEG, double bearingDEG, SpatialContext ctx, Point reuse)static PointDistanceUtils. pointOnBearingRAD(double startLat, double startLon, double distanceRAD, double bearingRAD, SpatialContext ctx, Point reuse)Given a start point (startLat, startLon), distance, and a bearing on a sphere, return the destination point.booleanAbstractDistanceCalculator. within(Point from, double toX, double toY, double distance)booleanCartesianDistCalc. within(Point from, double toX, double toY, double distance)booleanDistanceCalculator. within(Point from, double toX, double toY, double distance)Returns true if the distance between from and to is <= distance. -
Uses of Point in org.locationtech.spatial4j.io
Methods in org.locationtech.spatial4j.io that return Point Modifier and Type Method Description static PointGeohashUtils. decode(String geohash, SpatialContext ctx)Decodes the given geohash into a longitude (X) and latitude (Y)PointOnePointsBuilder. getPoint()PointBinaryCodec. readPoint(DataInput dataInput)Methods in org.locationtech.spatial4j.io with parameters of type Point Modifier and Type Method Description protected StringBuilderWKTWriter. append(StringBuilder buffer, Point p, NumberFormat nf)voidBinaryCodec. writePoint(DataOutput dataOutput, Point pt) -
Uses of Point in org.locationtech.spatial4j.shape
Methods in org.locationtech.spatial4j.shape that return Point Modifier and Type Method Description PointShape. getCenter()Returns the center point of this shape.PointShapeCollection. getCenter()PointShapeFactory. pointXY(double x, double y)Construct a point.PointShapeFactory. pointXYZ(double x, double y, double z)Construct a point of 3 dimensions.Methods in org.locationtech.spatial4j.shape with parameters of type Point Modifier and Type Method Description CircleShapeFactory. circle(Point point, double distance)Construct a circle.RectangleShapeFactory. rect(Point lowerLeft, Point upperRight)Construct a rectangle.Method parameters in org.locationtech.spatial4j.shape with type arguments of type Point Modifier and Type Method Description ShapeShapeFactory. lineString(List<Point> points, double buf)Deprecated. -
Uses of Point in org.locationtech.spatial4j.shape.impl
Classes in org.locationtech.spatial4j.shape.impl that implement Point Modifier and Type Class Description classPointImplA basic 2D implementation of a Point.Fields in org.locationtech.spatial4j.shape.impl declared as Point Modifier and Type Field Description protected PointCircleImpl. pointMethods in org.locationtech.spatial4j.shape.impl that return Point Modifier and Type Method Description PointBufferedLine. getA()PointBufferedLine. getB()PointBufferedLine. getCenter()PointBufferedLineString. getCenter()PointCircleImpl. getCenter()PointRectangleImpl. getCenter()PointShapeFactoryImpl. pointXY(double x, double y)PointShapeFactoryImpl. pointXYZ(double x, double y, double z)Methods in org.locationtech.spatial4j.shape.impl that return types with arguments of type Point Modifier and Type Method Description List<Point>BufferedLineString. getPoints()Methods in org.locationtech.spatial4j.shape.impl with parameters of type Point Modifier and Type Method Description CircleShapeFactoryImpl. circle(Point point, double distance)booleanBufferedLine. contains(Point p)static voidInfBufLine. cornerByQuadrant(Rectangle r, int cornerQuad, Point out)doubleInfBufLine. distanceUnbuffered(Point c)INTERNAL AKA lineToPointDistancestatic booleanPointImpl. equals(Point thiz, Object o)AllPointimplementations should use this definition ofObject.equals(Object).static doubleBufferedLine. expandBufForLongitudeSkew(Point pA, Point pB, double buf)CallsDistanceUtils.calcLonDegreesAtLat(double, double)given pA or pB's latitude; whichever is farthest.static intPointImpl. hashCode(Point thiz)AllPointimplementations should use this definition ofObject.hashCode().intInfBufLine. quadrant(Point c)INTERNAL: AKA lineToPointQuadrantRectangleShapeFactoryImpl. rect(Point lowerLeft, Point upperRight)SpatialRelationCircleImpl. relate(Point point)SpatialRelationRectangleImpl. relate(Point point)Method parameters in org.locationtech.spatial4j.shape.impl with type arguments of type Point Modifier and Type Method Description ShapeShapeFactoryImpl. lineString(List<Point> points, double buf)Constructors in org.locationtech.spatial4j.shape.impl with parameters of type Point Constructor Description BufferedLine(Point pA, Point pB, double buf, SpatialContext ctx)Creates a buffered line from pA to pB.CircleImpl(Point p, double radiusDEG, SpatialContext ctx)GeoCircle(Point p, double radiusDEG, SpatialContext ctx)RectangleImpl(Point lowerLeft, Point upperRight, SpatialContext ctx)A convenience constructor which pulls out the coordinates.Constructor parameters in org.locationtech.spatial4j.shape.impl with type arguments of type Point Constructor Description BufferedLineString(List<Point> points, double buf, boolean expandBufForLongitudeSkew, SpatialContext ctx)BufferedLineString(List<Point> points, double buf, SpatialContext ctx)Needs at least 1 point, usually more than that. -
Uses of Point in org.locationtech.spatial4j.shape.jts
Classes in org.locationtech.spatial4j.shape.jts that implement Point Modifier and Type Class Description classJtsPointWraps aPoint.Methods in org.locationtech.spatial4j.shape.jts that return Point Modifier and Type Method Description PointJtsPoint. getCenter()PointJtsShapeFactory. pointXY(double x, double y)PointJtsShapeFactory. pointXYZ(double x, double y, double z)Methods in org.locationtech.spatial4j.shape.jts with parameters of type Point Modifier and Type Method Description SpatialRelationJtsGeometry. relate(Point pt)Method parameters in org.locationtech.spatial4j.shape.jts with type arguments of type Point Modifier and Type Method Description ShapeJtsShapeFactory. lineString(List<Point> points, double bufferDistance)
-