public class Geo3dPointShape extends Geo3dShape<GeoPointShape> implements org.locationtech.spatial4j.shape.Point
Geo3dShape which represents a Point.boundingBox, center, shape, spatialcontext| Constructor and Description |
|---|
Geo3dPointShape(GeoPointShape shape,
org.locationtech.spatial4j.context.SpatialContext spatialcontext) |
| 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) |
double |
getX() |
double |
getY() |
boolean |
hasArea() |
void |
reset(double x,
double y) |
equals, getArea, getCenter, getContext, hashCode, isEmpty, relate, toStringpublic Geo3dPointShape(GeoPointShape shape, org.locationtech.spatial4j.context.SpatialContext spatialcontext)
public void reset(double x,
double y)
reset in interface org.locationtech.spatial4j.shape.Pointpublic double getX()
getX in interface org.locationtech.spatial4j.shape.Pointpublic double getY()
getY in interface org.locationtech.spatial4j.shape.Pointpublic org.locationtech.spatial4j.shape.Rectangle getBoundingBox()
getBoundingBox in interface org.locationtech.spatial4j.shape.ShapegetBoundingBox in class Geo3dShape<GeoPointShape>public 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<GeoPointShape>public boolean hasArea()
hasArea in interface org.locationtech.spatial4j.shape.ShapehasArea in class Geo3dShape<GeoPointShape>Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.