|
JGraph |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgraph.util.Spline2D
public class Spline2D
Interpolates points given in the 2D plane. The resulting spline is a function s: R -> R^2 with parameter t in [0,1].
| Constructor Summary | |
|---|---|
Spline2D(double[] x,
double[] y)
Creates a new Spline2D. |
|
Spline2D(Point2D[] points)
Creates a new Spline2D. |
|
| Method Summary | |
|---|---|
double |
getDx(double t)
|
double |
getDy(double t)
|
double |
getLength()
|
double[] |
getPoint(double t)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Spline2D(Point2D[] points)
points -
public Spline2D(double[] x,
double[] y)
x - y - | Method Detail |
|---|
public double[] getPoint(double t)
t - 0 <= t <= 1public double getDx(double t)
public double getDy(double t)
public double getLength()
|
JGraph |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||