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

    Modifier and Type
    Method
    Description
    int
    getY(int x)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LinearInterpolation

      public LinearInterpolation(int x1, int y1, int x2, int y2)
      Creates a new instance of LinearInterpolation
  • Method Details