All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class improv.util.SplineCurve

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

public final class SplineCurve
extends EditableCurve

Constructor Index

 o SplineCurve(double, double)
 o SplineCurve(double, double, int)
 o SplineCurve(double[], double[])
 o SplineCurve(double[], double[], int)
 o SplineCurve(float, float)
 o SplineCurve(float, float, int)
 o SplineCurve(float[], float[])
 o SplineCurve(float[], float[], int)
 o SplineCurve(float[][])
 o SplineCurve(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 SplineCurve
 public SplineCurve(float x,
                    float y)
 o SplineCurve
 public SplineCurve(float x,
                    float y,
                    int type)
 o SplineCurve
 public SplineCurve(float xPoints[],
                    float yPoints[])
 o SplineCurve
 public SplineCurve(float xPoints[],
                    float yPoints[],
                    int type)
 o SplineCurve
 public SplineCurve(float points[][])
 o SplineCurve
 public SplineCurve(float points[][],
                    int type)
 o SplineCurve
 public SplineCurve(double x,
                    double y)
 o SplineCurve
 public SplineCurve(double x,
                    double y,
                    int type)
 o SplineCurve
 public SplineCurve(double xPoints[],
                    double yPoints[])
 o SplineCurve
 public SplineCurve(double xPoints[],
                    double yPoints[],
                    int type)

Methods

 o copy
 public SplineCurve 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