Package horizontdeformer.interpolators
Class LinearInterpolation
java.lang.Object
horizontdeformer.interpolators.LinearInterpolation
- All Implemented Interfaces:
Interpolation
-
Constructor Summary
ConstructorsConstructorDescriptionLinearInterpolation
(int x1, int y1, int x2, int y2) Creates a new instance of LinearInterpolation -
Method Summary
-
Constructor Details
-
LinearInterpolation
public LinearInterpolation(int x1, int y1, int x2, int y2) Creates a new instance of LinearInterpolation
-
-
Method Details
-
getY
public int getY(int x) - Specified by:
getY
in interfaceInterpolation
-