Class Circle.Arc

  • Enclosing class:
    Circle

    public class Circle.Arc
    extends Object
    • Method Detail

      • getArcHeight

        public double getArcHeight()
        given a an arc defined from p1 to p2 existing on this circle, returns the height of the arc. This height is defined as the distance from the center of a chord defined by (p1, p2) and the outer edge of the circle.
        Returns:
        the arc height
      • getChordCenterPoint

        public Coordinate getChordCenterPoint()
      • getP1

        public Coordinate getP1()
      • getP2

        public Coordinate getP2()
      • getArcAngle

        public double getArcAngle()
      • getArcAngleDegrees

        public double getArcAngleDegrees()
      • getP1Angle

        public double getP1Angle()
      • getP2Angle

        public double getP2Angle()
      • isClockwise

        public boolean isClockwise()
      • toString

        public String toString()
        Overrides:
        toString in class Object