public class LinearInterpolation extends java.lang.Object implements Interpolation
Constructor and Description |
---|
LinearInterpolation(int x1,
int y1,
int x2,
int y2)
Creates a new instance of LinearInterpolation
|
Modifier and Type | Method and Description |
---|---|
int |
getY(int x) |
public LinearInterpolation(int x1, int y1, int x2, int y2)
public int getY(int x)
getY
in interface Interpolation