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 Rectangle
SpatialContextFactory. worldBounds
Methods in org.locationtech.spatial4j.context that return Rectangle Modifier and Type Method Description Rectangle
SpatialContext. getWorldBounds()
The extent of x & y coordinates should fit within the return'ed rectangle.Rectangle
SpatialContext. makeRectangle(double minX, double maxX, double minY, double maxY)
Deprecated.Rectangle
SpatialContext. makeRectangle(Point lowerLeft, Point upperRight)
Deprecated.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 Rectangle
JtsSpatialContext. 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 Rectangle
CartesianDistCalc. calcBoxByDistFromPt(Point from, double distDEG, SpatialContext ctx, Rectangle reuse)
Rectangle
DistanceCalculator. calcBoxByDistFromPt(Point from, double distDEG, SpatialContext ctx, Rectangle reuse)
Calculates the bounding box of a circle, as specified by its center point and distance.Rectangle
GeodesicSphereDistCalc. calcBoxByDistFromPt(Point from, double distDEG, SpatialContext ctx, Rectangle reuse)
static Rectangle
DistanceUtils. 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 double
CartesianDistCalc. area(Rectangle rect)
double
DistanceCalculator. area(Rectangle rect)
double
GeodesicSphereDistCalc. area(Rectangle rect)
Rectangle
CartesianDistCalc. calcBoxByDistFromPt(Point from, double distDEG, SpatialContext ctx, Rectangle reuse)
Rectangle
DistanceCalculator. calcBoxByDistFromPt(Point from, double distDEG, SpatialContext ctx, Rectangle reuse)
Calculates the bounding box of a circle, as specified by its center point and distance.Rectangle
GeodesicSphereDistCalc. calcBoxByDistFromPt(Point from, double distDEG, SpatialContext ctx, Rectangle reuse)
static Rectangle
DistanceUtils. 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 Rectangle
GeohashUtils. decodeBoundary(String geohash, SpatialContext ctx)
Returns min-max lon (X), min-max lat (Y).Rectangle
BinaryCodec. readRect(DataInput dataInput)
Methods in org.locationtech.spatial4j.io with parameters of type Rectangle Modifier and Type Method Description void
BinaryCodec. writeRect(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 Rectangle
ShapeCollection. bbox
Methods in org.locationtech.spatial4j.shape that return Rectangle Modifier and Type Method Description protected Rectangle
ShapeCollection. computeBoundingBox(Collection<? extends Shape> shapes, SpatialContext ctx)
Rectangle
Shape. getBoundingBox()
Get the bounding box for this Shape.Rectangle
ShapeCollection. getBoundingBox()
Rectangle
ShapeFactory. rect(double minX, double maxX, double minY, double maxY)
Construct a rectangle.Rectangle
ShapeFactory. 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 class
RectangleImpl
A 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 protected Rectangle
CircleImpl. enclosingBox
Methods in org.locationtech.spatial4j.shape.impl that return Rectangle Modifier and Type Method Description Rectangle
BBoxCalculator. getBoundary()
Rectangle
BufferedLine. getBoundingBox()
Rectangle
BufferedLineString. getBoundingBox()
Rectangle
CircleImpl. getBoundingBox()
Note that the bounding box might contain a minX that is > maxX, due to WGS84 anti-meridian.Rectangle
PointImpl. getBoundingBox()
Rectangle
RectangleImpl. getBoundingBox()
Rectangle
RectangleImpl. getBuffered(double distance, SpatialContext ctx)
Rectangle
ShapeFactoryImpl. rect(double minX, double maxX, double minY, double maxY)
Rectangle
ShapeFactoryImpl. rect(Point lowerLeft, Point upperRight)
Methods in org.locationtech.spatial4j.shape.impl with parameters of type Rectangle Modifier and Type Method Description static void
InfBufLine. cornerByQuadrant(Rectangle r, int cornerQuad, Point out)
static boolean
RectangleImpl. equals(Rectangle thiz, Object o)
AllRectangle
implementations should use this definition ofObject.equals(Object)
.void
BBoxCalculator. expandRange(Rectangle rect)
static int
RectangleImpl. hashCode(Rectangle thiz)
AllRectangle
implementations should use this definition ofObject.hashCode()
.SpatialRelation
BufferedLine. relate(Rectangle r)
SpatialRelation
CircleImpl. relate(Rectangle r)
SpatialRelation
RectangleImpl. relate(Rectangle rect)
protected SpatialRelation
CircleImpl. relateRectanglePhase2(Rectangle r, SpatialRelation bboxSect)
protected SpatialRelation
GeoCircle. relateRectanglePhase2(Rectangle r, SpatialRelation bboxSect)
Called after bounding box is intersected.static Range
Range. xRange(Rectangle rect, SpatialContext ctx)
Deprecated.static Range
Range. 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
Methods in org.locationtech.spatial4j.shape.jts that return Rectangle Modifier and Type Method Description protected Rectangle
JtsGeometry. computeGeoBBox(org.locationtech.jts.geom.Geometry geoms)
Givengeoms
which has already been checked for being in world bounds, return the minimal longitude range of the bounding box.Rectangle
JtsGeometry. getBoundingBox()
Rectangle
JtsPoint. getBoundingBox()
Rectangle
JtsShapeFactory. 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 SpatialRelation
JtsGeometry. relate(Rectangle rectangle)
-