Class Geo3dCircleShape

  • All Implemented Interfaces:
    org.locationtech.spatial4j.shape.Circle, org.locationtech.spatial4j.shape.Shape

    public class Geo3dCircleShape
    extends Geo3dShape<GeoCircle>
    implements org.locationtech.spatial4j.shape.Circle
    Specialization of a Geo3dShape which represents a Circle.
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Constructor Detail

      • Geo3dCircleShape

        public Geo3dCircleShape​(GeoCircle shape,
                                org.locationtech.spatial4j.context.SpatialContext spatialcontext)
    • Method Detail

      • reset

        public void reset​(double x,
                          double y,
                          double radiusDEG)
        Specified by:
        reset in interface org.locationtech.spatial4j.shape.Circle
      • getRadius

        public double getRadius()
        Specified by:
        getRadius in interface org.locationtech.spatial4j.shape.Circle
      • getCenter

        public org.locationtech.spatial4j.shape.Point getCenter()
        Specified by:
        getCenter in interface org.locationtech.spatial4j.shape.Shape
        Overrides:
        getCenter in class Geo3dShape<GeoCircle>