Class BezierSegment

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

public final class BezierSegment extends Object implements FileGdbSegment
Cubic Bezier segment between the point at startPointIndex and the following point.

Properties:

  • startPointIndex: index of the start point in the part
  • controlX1: x of the first control point
  • controlY1: y of the first control point
  • controlX2: x of the second control point
  • controlY2: y of the second control point
  • Constructor Details

    • BezierSegment

      public BezierSegment(int startPointIndex, double controlX1, double controlY1, double controlX2, double controlY2)
  • Method Details

    • startPointIndex

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

      public double controlX1()
    • controlY1

      public double controlY1()
    • controlX2

      public double controlX2()
    • controlY2

      public double controlY2()
    • 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