horizontdeformer.interpolators
Class KvadraticInterpolation

java.lang.Object
  extended by horizontdeformer.interpolators.KvadraticInterpolation
All Implemented Interfaces:
Interpolation

public class KvadraticInterpolation
extends java.lang.Object
implements Interpolation


Constructor Summary
KvadraticInterpolation(int x1, int y1, int x2, int y2, int x3, int y3)
          Creates a new instance of LinearInterpolation
 
Method Summary
 double getA()
           
 double getB()
           
 double getC()
           
 int getY(int x)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KvadraticInterpolation

public KvadraticInterpolation(int x1,
                              int y1,
                              int x2,
                              int y2,
                              int x3,
                              int y3)
Creates a new instance of LinearInterpolation

Method Detail

getC

public double getC()

getB

public double getB()

getA

public double getA()

getY

public int getY(int x)
Specified by:
getY in interface Interpolation

main

public static void main(java.lang.String[] args)