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, toString
public Geo3dPointShape(GeoPointShape shape, org.locationtech.spatial4j.context.SpatialContext spatialcontext)
public void reset(double x, double y)
reset
in interface org.locationtech.spatial4j.shape.Point
public double getX()
getX
in interface org.locationtech.spatial4j.shape.Point
public double getY()
getY
in interface org.locationtech.spatial4j.shape.Point
public org.locationtech.spatial4j.shape.Rectangle getBoundingBox()
getBoundingBox
in interface org.locationtech.spatial4j.shape.Shape
getBoundingBox
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.Shape
getBuffered
in class Geo3dShape<GeoPointShape>
public boolean hasArea()
hasArea
in interface org.locationtech.spatial4j.shape.Shape
hasArea
in class Geo3dShape<GeoPointShape>
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.