Class CircularArcSegment

java.lang.Object
ch.so.agi.filegdb.geometry.CircularArcSegment
All Implemented Interfaces:
FileGdbSegment

public final class CircularArcSegment extends Object implements FileGdbSegment
Circular arc between the point at startPointIndex and the following point.

Properties:

  • startPointIndex: index of the start point in the part
  • interiorX: x of the interior point or of the arc center
  • interiorY: y of the interior point or of the arc center
  • byCenter: whether the coordinates describe the arc center instead of an interior point
  • counterClockwise: winding for center based arcs
  • Constructor Details

    • CircularArcSegment

      public CircularArcSegment(int startPointIndex, double interiorX, double interiorY, boolean byCenter, boolean counterClockwise)
  • Method Details

    • startPointIndex

      public int startPointIndex()
      Specified by:
      startPointIndex in interface FileGdbSegment
    • interiorX

      public double interiorX()
    • interiorY

      public double interiorY()
    • byCenter

      public boolean byCenter()
    • counterClockwise

      public boolean counterClockwise()
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public final String toString()
      Overrides:
      toString in class Object