Uses of Interface
com.spatial4j.core.shape.Rectangle
-
Packages that use Rectangle Package Description com.spatial4j.core.context SpatialContext implementations are the facade to the Spatial4j API.com.spatial4j.core.context.jts com.spatial4j.core.distance Ways to calculate distance.com.spatial4j.core.io Reading & writing shapes in various forms.com.spatial4j.core.shape Shapes are the core geometry objects that Spatial4j provides.com.spatial4j.core.shape.impl com.spatial4j.core.shape.jts -
-
Uses of Rectangle in com.spatial4j.core.context
Fields in com.spatial4j.core.context declared as Rectangle Modifier and Type Field Description RectangleSpatialContextFactory. worldBoundsMethods in com.spatial4j.core.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)Construct a rectangle.RectangleSpatialContext. makeRectangle(Point lowerLeft, Point upperRight)Construct a rectangle.Constructors in com.spatial4j.core.context with parameters of type Rectangle Constructor Description SpatialContext(boolean geo, DistanceCalculator calculator, Rectangle worldBounds)Deprecated. -
Uses of Rectangle in com.spatial4j.core.context.jts
Methods in com.spatial4j.core.context.jts that return Rectangle Modifier and Type Method Description RectangleJtsSpatialContext. makeRectFromRectangularPoly(com.vividsolutions.jts.geom.Geometry geom)INTERNAL: Returns a Rectangle of the JTSEnvelope(bounding box) of the givengeom. -
Uses of Rectangle in com.spatial4j.core.distance
Methods in com.spatial4j.core.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 com.spatial4j.core.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 com.spatial4j.core.io
Methods in com.spatial4j.core.io that return Rectangle Modifier and Type Method Description static RectangleGeohashUtils. decodeBoundary(String geohash, SpatialContext ctx)Returns min-max lat, min-max lon.RectangleBinaryCodec. readRect(DataInput dataInput)Methods in com.spatial4j.core.io with parameters of type Rectangle Modifier and Type Method Description voidBinaryCodec. writeRect(DataOutput dataOutput, Rectangle r) -
Uses of Rectangle in com.spatial4j.core.shape
Fields in com.spatial4j.core.shape declared as Rectangle Modifier and Type Field Description protected RectangleShapeCollection. bboxMethods in com.spatial4j.core.shape that return Rectangle Modifier and Type Method Description protected RectangleShapeCollection. computeBoundingBox(Collection<? extends Shape> shapes, SpatialContext ctx)RectangleShape. getBoundingBox()Get the bounding box for this Shape.RectangleShapeCollection. getBoundingBox() -
Uses of Rectangle in com.spatial4j.core.shape.impl
Classes in com.spatial4j.core.shape.impl that implement Rectangle Modifier and Type Class Description classRectangleImplA simple Rectangle implementation that also supports a longitudinal wrap-around.Fields in com.spatial4j.core.shape.impl declared as Rectangle Modifier and Type Field Description protected RectangleCircleImpl. enclosingBoxMethods in com.spatial4j.core.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 dateline.RectanglePointImpl. getBoundingBox()RectangleRectangleImpl. getBoundingBox()RectangleRectangleImpl. getBuffered(double distance, SpatialContext ctx)Methods in com.spatial4j.core.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, 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().SpatialRelationBufferedLine. relate(Rectangle r)SpatialRelationCircleImpl. relate(Rectangle r)SpatialRelationRectangleImpl. relate(Rectangle rect)protected SpatialRelationCircleImpl. relateRectanglePhase2(Rectangle r, SpatialRelation bboxSect)protected SpatialRelationGeoCircle. relateRectanglePhase2(Rectangle r, SpatialRelation bboxSect)Called after bounding box is intersected.static RangeRange. xRange(Rectangle rect, SpatialContext ctx)Deprecated.static RangeRange. yRange(Rectangle rect, SpatialContext ctx)Deprecated.Constructors in com.spatial4j.core.shape.impl with parameters of type Rectangle Constructor Description LongitudeRange(Rectangle r)Deprecated.RectangleImpl(Rectangle r, SpatialContext ctx)Copy constructor. -
Uses of Rectangle in com.spatial4j.core.shape.jts
Methods in com.spatial4j.core.shape.jts that return Rectangle Modifier and Type Method Description protected RectangleJtsGeometry. computeGeoBBox(com.vividsolutions.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()Methods in com.spatial4j.core.shape.jts with parameters of type Rectangle Modifier and Type Method Description SpatialRelationJtsGeometry. relate(Rectangle rectangle)
-