Package com.mxgraph.util
Class mxSpline
- java.lang.Object
-
- com.mxgraph.util.mxSpline
-
public class mxSpline extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckValues()Used to check the correctness of this splinedoublegetDx(double t)doublegetDy(double t)doublegetLength()mxPointgetPoint(double t)mxSpline1DgetSplineX()mxSpline1DgetSplineY()protected voidinit(double[] x, double[] y)voidSpline2D(double[] x, double[] y)Creates a new mxSpline.
-
-
-
Constructor Detail
-
mxSpline
public mxSpline(java.util.List<mxPoint> points)
-
-
Method Detail
-
Spline2D
public void Spline2D(double[] x, double[] y)Creates a new mxSpline.- Parameters:
x-y-
-
init
protected void init(double[] x, double[] y)
-
getPoint
public mxPoint getPoint(double t)
- Parameters:
t- 0 <= t <= 1
-
checkValues
public boolean checkValues()
Used to check the correctness of this spline
-
getDx
public double getDx(double t)
-
getDy
public double getDy(double t)
-
getSplineX
public mxSpline1D getSplineX()
-
getSplineY
public mxSpline1D getSplineY()
-
getLength
public double getLength()
-
-