Class EllipseSegment

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

public final class EllipseSegment extends Object implements FileGdbSegment
Ellipse segment between the point at startPointIndex and the following point.

Properties:

  • startPointIndex: index of the start point in the part
  • centerX: x of the ellipse center
  • centerY: y of the ellipse center
  • rotationDegrees: rotation of the semi major axis in degrees
  • semiMajor: semi major axis length
  • minorMajorRatio: ratio of the semi minor to the semi major axis
  • minor: whether the minor arc is used
  • complete: whether the ellipse is complete
  • Constructor Details

    • EllipseSegment

      public EllipseSegment(int startPointIndex, double centerX, double centerY, double rotationDegrees, double semiMajor, double minorMajorRatio, boolean minor, boolean complete)
  • Method Details

    • startPointIndex

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

      public double centerX()
    • centerY

      public double centerY()
    • rotationDegrees

      public double rotationDegrees()
    • semiMajor

      public double semiMajor()
    • minorMajorRatio

      public double minorMajorRatio()
    • minor

      public boolean minor()
    • complete

      public boolean complete()
    • 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