Interface Circle

  • All Superinterfaces:
    Shape
    All Known Implementing Classes:
    CircleImpl, GeoCircle

    public interface Circle
    extends Shape
    A circle, also known as a point-radius since that is what it is comprised of.
    • Method Detail

      • reset

        void reset​(double x,
                   double y,
                   double radiusDEG)
        Expert: Resets the state of this shape given the arguments. This is a performance feature to avoid excessive Shape object allocation as well as some argument error checking. Mutable shapes is error-prone so use with care.
      • getRadius

        double getRadius()
        The distance from the point's center to its edge, measured in the same units as x & y (e.g. degrees if WGS84).