Package horizontdeformer.interpolators
Class LinearInterpolation
- java.lang.Object
-
- horizontdeformer.interpolators.LinearInterpolation
-
- All Implemented Interfaces:
Interpolation
public class LinearInterpolation extends java.lang.Object implements Interpolation
-
-
Constructor Summary
Constructors Constructor Description LinearInterpolation(int x1, int y1, int x2, int y2)
Creates a new instance of LinearInterpolation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getY(int x)
-
-
-
Method Detail
-
getY
public int getY(int x)
- Specified by:
getY
in interfaceInterpolation
-
-