public class SplineFitter
extends java.lang.Object
Constructor and Description |
---|
SplineFitter(float[] x,
float[] y,
int n) |
SplineFitter(float[] x,
float[] y,
int n,
boolean closed)
For closed curves: the first and last y value should be identical;
internally, a periodic continuation with a few will be used at both
ends
|
SplineFitter(int[] x,
int[] y,
int n) |
Modifier and Type | Method and Description |
---|---|
double |
evalSpline(double xp)
Evalutes spline function at given point
|
double |
evalSpline(float[] x,
float[] y,
int n,
double xp) |
double |
evalSpline(int[] x,
int[] y,
int n,
double xp) |
public SplineFitter(int[] x, int[] y, int n)
public SplineFitter(float[] x, float[] y, int n, boolean closed)
public SplineFitter(float[] x, float[] y, int n)