public class Geo3dRectangleShape extends Geo3dShape<GeoBBox> implements org.locationtech.spatial4j.shape.Rectangle
Geo3dShape which represents a Rectangle.boundingBox, center, shape, spatialcontext| Constructor and Description |
|---|
Geo3dRectangleShape(GeoBBox shape,
org.locationtech.spatial4j.context.SpatialContext spatialcontext) |
Geo3dRectangleShape(GeoBBox shape,
org.locationtech.spatial4j.context.SpatialContext spatialcontext,
double minX,
double maxX,
double minY,
double maxY) |
| Modifier and Type | Method and Description |
|---|---|
org.locationtech.spatial4j.shape.Rectangle |
getBoundingBox() |
org.locationtech.spatial4j.shape.Shape |
getBuffered(double distance,
org.locationtech.spatial4j.context.SpatialContext spatialContext) |
org.locationtech.spatial4j.shape.Point |
getCenter() |
boolean |
getCrossesDateLine() |
double |
getHeight() |
double |
getMaxX() |
double |
getMaxY() |
double |
getMinX() |
double |
getMinY() |
double |
getWidth() |
org.locationtech.spatial4j.shape.SpatialRelation |
relateXRange(double minX,
double maxX) |
org.locationtech.spatial4j.shape.SpatialRelation |
relateYRange(double minY,
double maxY) |
void |
reset(double minX,
double maxX,
double minY,
double maxY) |
equals, getArea, getContext, hasArea, hashCode, isEmpty, relate, toStringpublic Geo3dRectangleShape(GeoBBox shape, org.locationtech.spatial4j.context.SpatialContext spatialcontext, double minX, double maxX, double minY, double maxY)
public Geo3dRectangleShape(GeoBBox shape, org.locationtech.spatial4j.context.SpatialContext spatialcontext)
public org.locationtech.spatial4j.shape.Point getCenter()
getCenter in interface org.locationtech.spatial4j.shape.ShapegetCenter in class Geo3dShape<GeoBBox>public void reset(double minX,
double maxX,
double minY,
double maxY)
reset in interface org.locationtech.spatial4j.shape.Rectanglepublic org.locationtech.spatial4j.shape.Rectangle getBoundingBox()
getBoundingBox in interface org.locationtech.spatial4j.shape.ShapegetBoundingBox in class Geo3dShape<GeoBBox>public double getWidth()
getWidth in interface org.locationtech.spatial4j.shape.Rectanglepublic double getHeight()
getHeight in interface org.locationtech.spatial4j.shape.Rectanglepublic double getMinX()
getMinX in interface org.locationtech.spatial4j.shape.Rectanglepublic double getMinY()
getMinY in interface org.locationtech.spatial4j.shape.Rectanglepublic double getMaxX()
getMaxX in interface org.locationtech.spatial4j.shape.Rectanglepublic double getMaxY()
getMaxY in interface org.locationtech.spatial4j.shape.Rectanglepublic boolean getCrossesDateLine()
getCrossesDateLine in interface org.locationtech.spatial4j.shape.Rectanglepublic org.locationtech.spatial4j.shape.SpatialRelation relateYRange(double minY,
double maxY)
relateYRange in interface org.locationtech.spatial4j.shape.Rectanglepublic org.locationtech.spatial4j.shape.SpatialRelation relateXRange(double minX,
double maxX)
relateXRange in interface org.locationtech.spatial4j.shape.Rectanglepublic org.locationtech.spatial4j.shape.Shape getBuffered(double distance,
org.locationtech.spatial4j.context.SpatialContext spatialContext)
getBuffered in interface org.locationtech.spatial4j.shape.ShapegetBuffered in class Geo3dShape<GeoBBox>Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.