public class mxSpline
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
boolean |
checkValues() |
Used to check the correctness of this spline
|
double |
getDx(double t) |
|
double |
getDy(double t) |
|
double |
getLength() |
|
mxPoint |
getPoint(double t) |
|
mxSpline1D |
getSplineX() |
|
mxSpline1D |
getSplineY() |
|
protected void |
init(double[] x,
double[] y) |
|
void |
Spline2D(double[] x,
double[] y) |
Creates a new mxSpline.
|
public mxSpline(java.util.List<mxPoint> points)
public void Spline2D(double[] x, double[] y)
x
- y
- protected void init(double[] x, double[] y)
public mxPoint getPoint(double t)
t
- 0 <= t <= 1public boolean checkValues()
public double getDx(double t)
public double getDy(double t)
public mxSpline1D getSplineX()
public mxSpline1D getSplineY()
public double getLength()
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.