Class CircularArcByBulge

All Implemented Interfaces:
AutoCloseable

public final class CircularArcByBulge extends Curve implements AutoCloseable
A circular arc defined by a start point, end point and a bulge factor.
See Also:
  • Method Details Link icon

    • finalize Link icon

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

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

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

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

      public double getBulge()
      Returns the bulge factor of this arc.

      The bulge factor is the ratio of (1) the distance between the arc midpoint and the center of the arc's chord, and (2) half the length of the arc's chord. The sign of the bulge indicates whether the midpoint is on the left side (positive) or right side (negative) of the vector from start to end point. So a bulge factor with an absolute value of 1 means a half-circle, smaller than 1 means a less bulging arc and larger than 1 means an arc that bulges out in the start and end point.

      Returns:
      the bulge factor of this arc.