Uses of Interface
org.locationtech.spatial4j.shape.Point
-
Packages that use Point Package Description org.locationtech.spatial4j.context SpatialContext implementations are the facade to the Spatial4j API.org.locationtech.spatial4j.distance Ways to calculate distance.org.locationtech.spatial4j.io Reading & writing shapes in various forms.org.locationtech.spatial4j.io.jackson Optional support to read/write Shapes and Geometry using Jacksonorg.locationtech.spatial4j.shape Shapes are the core geometry objects that Spatial4j provides.org.locationtech.spatial4j.shape.impl org.locationtech.spatial4j.shape.jts -
-
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(java.util.List<Point> points, double buf)Deprecated.ShapeSpatialContext. makeLineString(java.util.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
Fields in org.locationtech.spatial4j.io declared as Point Modifier and Type Field Description private PointOnePointsBuilder. pointMethods in org.locationtech.spatial4j.io that return Point Modifier and Type Method Description static PointGeohashUtils. decode(java.lang.String geohash, SpatialContext ctx)Decodes the given geohash into a longitude (X) and latitude (Y)PointOnePointsBuilder. getPoint()private static PointLegacyShapeReader. readLatCommaLonPoint(java.lang.String value, SpatialContext ctx)Deprecated.Reads geospatial latitude then a comma then longitude.PointBinaryCodec. readPoint(java.io.DataInput dataInput)Methods in org.locationtech.spatial4j.io with parameters of type Point Modifier and Type Method Description protected java.lang.StringBuilderWKTWriter. append(java.lang.StringBuilder buffer, Point p, java.text.NumberFormat nf)voidBinaryCodec. writePoint(java.io.DataOutput dataOutput, Point pt) -
Uses of Point in org.locationtech.spatial4j.io.jackson
Methods in org.locationtech.spatial4j.io.jackson that return Point Modifier and Type Method Description PointShapeDeserializer. readPoint(com.fasterxml.jackson.databind.node.ArrayNode arr, ShapeFactory factory) -
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()default PointShapeFactory. pointLatLon(double latitude, double longitude)Construct a point of latitude, longitude coordinatesPointShapeFactory. 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(java.util.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 private PointBufferedLine. pAprivate PointBufferedLine. pBprotected 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 java.util.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)(package private) booleanInfBufLine. contains(Point p)static voidInfBufLine. cornerByQuadrant(Rectangle r, int cornerQuad, Point out)doubleInfBufLine. distanceUnbuffered(Point c)INTERNAL AKA lineToPointDistancestatic booleanPointImpl. equals(Point thiz, java.lang.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)(package private) SpatialRelationInfBufLine. relate(Rectangle r, Point prC, Point scratch)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(java.util.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)InfBufLine(double slope, Point point, double buf)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(java.util.List<Point> points, double buf, boolean expandBufForLongitudeSkew, SpatialContext ctx)BufferedLineString(java.util.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(java.util.List<Point> points, double bufferDistance)
-