org.jgraph.util
public class Spline2D extends Object
| Constructor Summary | |
|---|---|
| Spline2D(Point2D[] points)
Creates a new Spline2D. | |
| Spline2D(double[] x, double[] y)
Creates a new Spline2D. | |
| Method Summary | |
|---|---|
| boolean | checkValues()
Used to check the correctness of this spline |
| double | getDx(double t) |
| double | getDy(double t) |
| double | getLength() |
| double[] | getPoint(double t) |
| Spline | getSplineX() |
| Spline | getSplineY() |
Parameters: points
Parameters: x y
Parameters: t 0 <= t <= 1