public class Interpolator extends java.lang.Object
Constructor and Description |
---|
Interpolator() |
Modifier and Type | Method and Description |
---|---|
static double[] |
doExpInterpolation(double start,
double end,
int size)
Do exponential interpolation from start to end with specified size (step number)
|
static double[] |
doLinearInterpolation(double start,
double end,
double step)
Do linear interpolation from start to end with specified increment step
|
static double[] |
doLinearInterpolation(double start,
double end,
int size)
Do linear interpolation from start to end with specified size (step number)
|
static double[] |
doLogInterpolation(double start,
double end,
int size)
Do logarithmic interpolation from start to end with specified size (step number)
|
static double[] |
doYLinearInterpolation(double[] x,
double[] y,
double xinc)
Return Y linear interpolated coordinates from specified points and given X increment
|
static double[] |
doYLinearInterpolation(java.util.List<java.awt.Point> points,
double xinc)
Return Y linear interpolated coordinates from specified points and given X increment
|
static double[] |
doYSplineInterpolation(java.util.ArrayList<java.awt.Point> points,
double xstep)
Return Y spline interpolated coordinates from specified points and given X increment
|
static double[] |
doYSplineInterpolation(double[] x,
double[] y,
double xstep)
Return Y spline interpolated coordinates from specified points and given X increment.
|
public Interpolator()
public static double[] doYLinearInterpolation(java.util.List<java.awt.Point> points, double xinc)
public static double[] doYLinearInterpolation(double[] x, double[] y, double xinc)
public static double[] doYSplineInterpolation(java.util.ArrayList<java.awt.Point> points, double xstep)
public static double[] doYSplineInterpolation(double[] x, double[] y, double xstep)
public static double[] doLinearInterpolation(double start, double end, double step)
public static double[] doLinearInterpolation(double start, double end, int size)
public static double[] doLogInterpolation(double start, double end, int size)
public static double[] doExpInterpolation(double start, double end, int size)