Uses of Interface
org.locationtech.spatial4j.shape.Rectangle
-
Packages that use Rectangle Package Description org.locationtech.spatial4j.context SpatialContext implementations are the facade to the Spatial4j API.org.locationtech.spatial4j.context.jts org.locationtech.spatial4j.distance Ways to calculate distance.org.locationtech.spatial4j.io Reading & writing shapes in various forms.org.locationtech.spatial4j.shape Shapes are the core geometry objects that Spatial4j provides.org.locationtech.spatial4j.shape.impl org.locationtech.spatial4j.shape.jts -
-
Uses of Rectangle in org.locationtech.spatial4j.context
Fields in org.locationtech.spatial4j.context declared as Rectangle Modifier and Type Field Description private RectangleSpatialContext. worldBoundsRectangleSpatialContextFactory. worldBoundsMethods in org.locationtech.spatial4j.context that return Rectangle Modifier and Type Method Description RectangleSpatialContext. getWorldBounds()The extent of x & y coordinates should fit within the return'ed rectangle.RectangleSpatialContext. makeRectangle(double minX, double maxX, double minY, double maxY)Deprecated.RectangleSpatialContext. makeRectangle(Point lowerLeft, Point upperRight)Deprecated.Methods in org.locationtech.spatial4j.context with parameters of type Rectangle Modifier and Type Method Description private static SpatialContextFactorySpatialContext. initFromLegacyConstructor(boolean geo, DistanceCalculator calculator, Rectangle worldBounds)Constructors in org.locationtech.spatial4j.context with parameters of type Rectangle Constructor Description SpatialContext(boolean geo, DistanceCalculator calculator, Rectangle worldBounds)Deprecated. -
Uses of Rectangle in org.locationtech.spatial4j.context.jts
Methods in org.locationtech.spatial4j.context.jts that return Rectangle Modifier and Type Method Description RectangleJtsSpatialContext. makeRectFromRectangularPoly(org.locationtech.jts.geom.Geometry geom)Deprecated. -
Uses of Rectangle in org.locationtech.spatial4j.distance
Methods in org.locationtech.spatial4j.distance that return Rectangle 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)static RectangleDistanceUtils. calcBoxByDistFromPtDEG(double lat, double lon, double distDEG, SpatialContext ctx, Rectangle reuse)Calculates the bounding box of a circle, as specified by its center point and distance.Methods in org.locationtech.spatial4j.distance with parameters of type Rectangle Modifier and Type Method Description doubleCartesianDistCalc. area(Rectangle rect)doubleDistanceCalculator. area(Rectangle rect)doubleGeodesicSphereDistCalc. area(Rectangle rect)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)static RectangleDistanceUtils. calcBoxByDistFromPtDEG(double lat, double lon, double distDEG, SpatialContext ctx, Rectangle reuse)Calculates the bounding box of a circle, as specified by its center point and distance. -
Uses of Rectangle in org.locationtech.spatial4j.io
Methods in org.locationtech.spatial4j.io that return Rectangle Modifier and Type Method Description static RectangleGeohashUtils. decodeBoundary(java.lang.String geohash, SpatialContext ctx)Returns min-max lon (X), min-max lat (Y).RectangleBinaryCodec. readRect(java.io.DataInput dataInput)Methods in org.locationtech.spatial4j.io with parameters of type Rectangle Modifier and Type Method Description voidBinaryCodec. writeRect(java.io.DataOutput dataOutput, Rectangle r) -
Uses of Rectangle in org.locationtech.spatial4j.shape
Fields in org.locationtech.spatial4j.shape declared as Rectangle Modifier and Type Field Description protected RectangleShapeCollection. bboxMethods in org.locationtech.spatial4j.shape that return Rectangle Modifier and Type Method Description protected RectangleShapeCollection. computeBoundingBox(java.util.Collection<? extends Shape> shapes, SpatialContext ctx)RectangleShape. getBoundingBox()Get the bounding box for this Shape.RectangleShapeCollection. getBoundingBox()RectangleShapeFactory. rect(double minX, double maxX, double minY, double maxY)Construct a rectangle.RectangleShapeFactory. rect(Point lowerLeft, Point upperRight)Construct a rectangle. -
Uses of Rectangle in org.locationtech.spatial4j.shape.impl
Classes in org.locationtech.spatial4j.shape.impl that implement Rectangle Modifier and Type Class Description classRectangleImplA simple Rectangle implementation that also supports a longitudinal wrap-around.Fields in org.locationtech.spatial4j.shape.impl declared as Rectangle Modifier and Type Field Description private RectangleBufferedLine. bboxprotected RectangleCircleImpl. enclosingBoxMethods in org.locationtech.spatial4j.shape.impl that return Rectangle Modifier and Type Method Description RectangleBBoxCalculator. getBoundary()RectangleBufferedLine. getBoundingBox()RectangleBufferedLineString. getBoundingBox()RectangleCircleImpl. getBoundingBox()Note that the bounding box might contain a minX that is > maxX, due to WGS84 anti-meridian.RectanglePointImpl. getBoundingBox()RectangleRectangleImpl. getBoundingBox()RectangleRectangleImpl. getBuffered(double distance, SpatialContext ctx)RectangleShapeFactoryImpl. rect(double minX, double maxX, double minY, double maxY)RectangleShapeFactoryImpl. rect(Point lowerLeft, Point upperRight)Methods in org.locationtech.spatial4j.shape.impl with parameters of type Rectangle Modifier and Type Method Description static voidInfBufLine. cornerByQuadrant(Rectangle r, int cornerQuad, Point out)static booleanRectangleImpl. equals(Rectangle thiz, java.lang.Object o)AllRectangleimplementations should use this definition ofObject.equals(Object).voidBBoxCalculator. expandRange(Rectangle rect)static intRectangleImpl. hashCode(Rectangle thiz)AllRectangleimplementations should use this definition ofObject.hashCode().private intGeoCircle. numCornersIntersect(Rectangle r)Returns either 0 for none, 1 for some, or 4 for all.SpatialRelationBufferedLine. relate(Rectangle r)SpatialRelationCircleImpl. relate(Rectangle r)(package private) SpatialRelationInfBufLine. relate(Rectangle r, Point prC, Point scratch)SpatialRelationRectangleImpl. relate(Rectangle rect)private SpatialRelationGeoCircle. relateRectangleCircleWrapsPole(Rectangle r, SpatialContext ctx)protected SpatialRelationCircleImpl. relateRectanglePhase2(Rectangle r, SpatialRelation bboxSect)protected SpatialRelationGeoCircle. relateRectanglePhase2(Rectangle r, SpatialRelation bboxSect)Called after bounding box is intersected.private static booleanRectangleImpl. verticalAtDateline(RectangleImpl rect1, Rectangle rect2)static RangeRange. xRange(Rectangle rect, SpatialContext ctx)Deprecated.static RangeRange. yRange(Rectangle rect, SpatialContext ctx)Deprecated.Constructors in org.locationtech.spatial4j.shape.impl with parameters of type Rectangle Constructor Description LongitudeRange(Rectangle r)Deprecated.RectangleImpl(Rectangle r, SpatialContext ctx)Copy constructor. -
Uses of Rectangle in org.locationtech.spatial4j.shape.jts
Fields in org.locationtech.spatial4j.shape.jts declared as Rectangle Modifier and Type Field Description private RectangleJtsGeometry. bboxMethods in org.locationtech.spatial4j.shape.jts that return Rectangle Modifier and Type Method Description protected RectangleJtsGeometry. computeGeoBBox(org.locationtech.jts.geom.Geometry geoms)Givengeomswhich has already been checked for being in world bounds, return the minimal longitude range of the bounding box.RectangleJtsGeometry. getBoundingBox()RectangleJtsPoint. getBoundingBox()RectangleJtsShapeFactory. makeRectFromRectangularPoly(org.locationtech.jts.geom.Geometry geom)INTERNAL: Returns a Rectangle of the JTSEnvelope(bounding box) of the givengeom.Methods in org.locationtech.spatial4j.shape.jts with parameters of type Rectangle Modifier and Type Method Description SpatialRelationJtsGeometry. relate(Rectangle rectangle)
-