| Modifier and Type | Field and Description |
|---|---|
| private final Point2D[] | |
| private final Point2D[] | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | CubicBezierCurve(Point2D[]
4 control points [p0, p1, p2, p3] ctrlPnts, int dividing level, if l = 0, one cubic Bezier curve is divided
into 2^0 = 1 segments, if l = n, one cubic Bezier curve is divided into
2^n segments l)Constructor of CubicBezierCurve |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Point2D[] | |
| pack-priv int | |
| private Point2D[] | |
| public String |
| controlPoints | back to summary |
|---|---|
| private final Point2D[] controlPoints | |
| curve | back to summary |
|---|---|
| private final Point2D[] curve | |
| level | back to summary |
|---|---|
| private final int level | |
| CubicBezierCurve | back to summary |
|---|---|
| pack-priv CubicBezierCurve(Point2D[] ctrlPnts, int l) Constructor of CubicBezierCurve
| |
| getCubicBezierCurve | back to summary |
|---|---|
| pack-priv Point2D[] getCubicBezierCurve() Get sampled points of this cubic Bezier curve.
| |
| getLevel | back to summary |
|---|---|
| pack-priv int getLevel() Get level parameter
| |
| getPoints | back to summary |
|---|---|
| private Point2D[] getPoints(int l) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |