All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class improv.util.LinearCurve

java.lang.Object
   |
   +----improv.util.Curve
           |
           +----improv.util.EditableCurve
                   |
                   +----improv.util.LinearCurve

public final class LinearCurve
extends EditableCurve

Constructor Index

 o LinearCurve(double, double)
 o LinearCurve(double, double, int)
 o LinearCurve(double[], double[])
 o LinearCurve(double[], double[], int)
 o LinearCurve(float, float)
 o LinearCurve(float, float, int)
 o LinearCurve(float[], float[])
 o LinearCurve(float[], float[], int)
 o LinearCurve(float[][])
 o LinearCurve(float[][], int)

Method Index

 o animate(double[], double[], double, int)
 o copy()
Create a duplicate of this curve.
 o eval(double)
This is called from the animate method and is overridden by the individual curve classes.
 o eval(double[], double[], double)
 o evalInt(double)
 o evalInt(double[], double[], double)

Constructors

 o LinearCurve
 public LinearCurve(float x,
                    float y)
 o LinearCurve
 public LinearCurve(float x,
                    float y,
                    int type)
 o LinearCurve
 public LinearCurve(float xPoints[],
                    float yPoints[])
 o LinearCurve
 public LinearCurve(float xPoints[],
                    float yPoints[],
                    int type)
 o LinearCurve
 public LinearCurve(float points[][])
 o LinearCurve
 public LinearCurve(float points[][],
                    int type)
 o LinearCurve
 public LinearCurve(double x,
                    double y)
 o LinearCurve
 public LinearCurve(double x,
                    double y,
                    int type)
 o LinearCurve
 public LinearCurve(double xPoints[],
                    double yPoints[])
 o LinearCurve
 public LinearCurve(double xPoints[],
                    double yPoints[],
                    int type)

Methods

 o copy
 public LinearCurve copy()
Create a duplicate of this curve.

Overrides:
copy in class EditableCurve
 o eval
 public double eval(double x)
This is called from the animate method and is overridden by the individual curve classes.

Overrides:
eval in class Curve
 o eval
 public static double eval(double xPoints[],
                           double yPoints[],
                           double x)
 o evalInt
 public static int evalInt(double xPoints[],
                           double yPoints[],
                           double x)
 o evalInt
 public int evalInt(double x)
 o animate
 public static double animate(double x[],
                              double y[],
                              double start,
                              int type)

All Packages  Class Hierarchy  This Package  Previous  Next  Index