public interface InterpolatorFactory
Interpolator
instances for an application. Usually there will be just one class
that implements this interface.Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static final int HERMITE
static final int AKIMA
static final int CUBIC
static final int POLYNOMIAL
static final int LINEAR
static final String[] defaultShortNames
int getInterpolatorCount()
Interpolator makeInterpolator(int interpolator)
String getShortName(int interpolator)
int getTypeFromName(String name)
int getInterpolatorType(Interpolator interpolator)
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.