Class CircleBy3Points

All Implemented Interfaces:
AutoCloseable

public final class CircleBy3Points extends Ring implements AutoCloseable
A circle that is defined by a start point, a first intermediate point, and a second intermediate point on the circle.

A circle by-3-points where the three points coincide represents a circle with these points as its center and a radius of 0.

A circle by-3-points where 2 out of 3 points coincide represents a circle with its center located in the middle between the 2 coinciding points and the other point.

See Also:
  • Method Details Link icon

    • finalize Link icon

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

      public void close()
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class Ring
    • getStartPoint Link icon

      @NotNull public Coordinate getStartPoint()
      Returns the start point of this circle-by-3-points.
      Returns:
      the start point of this circle-by-3-points.
    • getFirstIntermediatePoint Link icon

      @NotNull public Coordinate getFirstIntermediatePoint()
      Returns the first intermediate point of this circle-by-3-points.
      Returns:
      the first intermediate point of this circle-by-3-points.
    • getSecondIntermediatePoint Link icon

      @NotNull public Coordinate getSecondIntermediatePoint()
      Returns the second intermediate point of this circle-by-3-points.
      Returns:
      the second intermediate point of this circle-by-3-points.