Class Circle.Arc

  • Enclosing class:
    Circle

    public class Circle.Arc
    extends Object
    An arc, or circle segment
    • 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 org.locationtech.jts.geom.Coordinate getChordCenterPoint()
        Returns the center of this Arc
        Returns:
        the center of this Arc
      • split

        public Circle.Arc[] split()
        Splits this Arc at the mid point
        Returns:
        an array of two Arcs
      • getP1

        public org.locationtech.jts.geom.Coordinate getP1()
      • getP2

        public org.locationtech.jts.geom.Coordinate getP2()
      • getArcAngle

        public double getArcAngle()
      • getArcAngleDegrees

        public double getArcAngleDegrees()
      • getP1Angle

        public double getP1Angle()
      • getP2Angle

        public double getP2Angle()
      • isClockwise

        public boolean isClockwise()