Package ch.so.agi.filegdb.geometry
Class BezierSegment
java.lang.Object
ch.so.agi.filegdb.geometry.BezierSegment
- All Implemented Interfaces:
FileGdbSegment
Cubic Bezier segment between the point at
startPointIndex and the
following point.
Properties:
startPointIndex: index of the start point in the partcontrolX1: x of the first control pointcontrolY1: y of the first control pointcontrolX2: x of the second control pointcontrolY2: y of the second control point
-
Constructor Summary
ConstructorsConstructorDescriptionBezierSegment(int startPointIndex, double controlX1, double controlY1, double controlX2, double controlY2) -
Method Summary
-
Constructor Details
-
BezierSegment
public BezierSegment(int startPointIndex, double controlX1, double controlY1, double controlX2, double controlY2)
-
-
Method Details
-
startPointIndex
public int startPointIndex()- Specified by:
startPointIndexin interfaceFileGdbSegment
-
controlX1
public double controlX1() -
controlY1
public double controlY1() -
controlX2
public double controlX2() -
controlY2
public double controlY2() -
equals
-
hashCode
public final int hashCode() -
toString
-