Class CircularArcBy3Points

All Implemented Interfaces:
AutoCloseable

public final class CircularArcBy3Points extends Curve implements AutoCloseable
A circular arc that is defined by a start point, end point, and a third point on the arc.

A circular arc-by-3-points where the start, end and intermediate point coincide represents an arc on a circle with these points as its center and a radius of 0.

A circular arc-by-3-points where 2 out of 3 points coincide represents an arc on a circle with its center located in the middle between the 2 coinciding points and the other point. If the start and end point coincide, a full circle is drawn, otherwise, the arc is interpreted as half a circle in counterclockwise direction from start to end point.

See Also:
  • Method Details

    • finalize

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

      public void close()
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class Curve
    • getStartPoint

      @NotNull public Coordinate getStartPoint()
      Returns the start point of this arc.
      Returns:
      the start point of this arc.
    • getIntermediatePoint

      @NotNull public Coordinate getIntermediatePoint()
      Returns the intermediate point of this arc.
      Returns:
      the intermediate point of this arc.
    • getEndPoint

      @NotNull public Coordinate getEndPoint()
      Returns the end point of this arc.
      Returns:
      the end point of this arc.