Class CircleByCenterPoint

All Implemented Interfaces:
AutoCloseable

public final class CircleByCenterPoint extends Ring implements AutoCloseable
Represents a circle defined by a center point and a radius.
See Also:
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Ring
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class Ring
    • getCenter

      @NotNull public Coordinate getCenter()
      Returns the center of the circle.
      Returns:
      the center of the circle.
    • getRadius

      public double getRadius()
      Returns the radius of the circle.

      If the coordinate reference is a geodetic reference, this is expressed in meters. Otherwise the unit of the reference is used.

      Returns:
      the radius of the circle.