public class Geo3dCircleShape extends Geo3dShape<GeoCircle> implements org.locationtech.spatial4j.shape.Circle
Geo3dShape which represents a Circle.boundingBox, center, shape, spatialcontext| Constructor and Description |
|---|
Geo3dCircleShape(GeoCircle shape,
org.locationtech.spatial4j.context.SpatialContext spatialcontext) |
| Modifier and Type | Method and Description |
|---|---|
org.locationtech.spatial4j.shape.Point |
getCenter() |
double |
getRadius() |
org.locationtech.spatial4j.shape.SpatialRelation |
relate(org.locationtech.spatial4j.shape.Shape other) |
void |
reset(double x,
double y,
double radiusDEG) |
equals, getArea, getBoundingBox, getBuffered, getContext, hasArea, hashCode, isEmpty, toStringpublic Geo3dCircleShape(GeoCircle shape, org.locationtech.spatial4j.context.SpatialContext spatialcontext)
public void reset(double x,
double y,
double radiusDEG)
reset in interface org.locationtech.spatial4j.shape.Circlepublic double getRadius()
getRadius in interface org.locationtech.spatial4j.shape.Circlepublic org.locationtech.spatial4j.shape.Point getCenter()
getCenter in interface org.locationtech.spatial4j.shape.ShapegetCenter in class Geo3dShape<GeoCircle>public org.locationtech.spatial4j.shape.SpatialRelation relate(org.locationtech.spatial4j.shape.Shape other)
relate in interface org.locationtech.spatial4j.shape.Shaperelate in class Geo3dShape<GeoCircle>Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.