|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InterpolatorFactory
Interface for a class that defines how to create Interpolator
instances for an application. Usually there will be just one class
that implements this interface.
Field Summary | |
---|---|
static int |
AKIMA
Akima splines |
static int |
CUBIC
Cubic splines |
static String[] |
defaultShortNames
Display names for Curves defined in the interface. |
static int |
HERMITE
Hermite splines |
static int |
LINEAR
Straight lines between points (almost same as polyline except X coordinates are always monotonic) |
static int |
POLYNOMIAL
Single polynomial though all points. |
Method Summary | |
---|---|
int |
getInterpolatorCount()
Get the number of interpolators supported. |
int |
getInterpolatorType(Interpolator interpolator)
Return the numeric type of a given Interpolator. |
String |
getShortName(int interpolator)
Get the short name of an interpolator type. |
int |
getTypeFromName(String name)
Get the interpolator type, given a short name. |
Interpolator |
makeInterpolator(int interpolator)
Create an Interpolator of the given type. |
Field Detail |
---|
static final int HERMITE
static final int AKIMA
static final int CUBIC
static final int POLYNOMIAL
static final int LINEAR
static final String[] defaultShortNames
Method Detail |
---|
int getInterpolatorCount()
Interpolator makeInterpolator(int interpolator)
String getShortName(int interpolator)
int getTypeFromName(String name)
int getInterpolatorType(Interpolator interpolator)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |