public static enum CubicInterpolator.Method extends java.lang.Enum<CubicInterpolator.Method>
Enum Constant and Description |
---|
LINEAR
The interpolated y(x) is continuous, but has discontinuous 1st and
higher derivatives.
|
MONOTONIC
The interpolated y(x) is continuous with continuous 1st derivative, but
may have discontinuous 2nd and higher-order derivatives.
|
SPLINE
The interpolated y(x) is continuous with continuous 1st and 2nd
derivatives, but may have discontinuous 3rd and higher-order
derivatives.
|
Modifier and Type | Method and Description |
---|---|
static CubicInterpolator.Method |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CubicInterpolator.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CubicInterpolator.Method LINEAR
public static final CubicInterpolator.Method MONOTONIC
public static final CubicInterpolator.Method SPLINE
public static CubicInterpolator.Method[] values()
for (CubicInterpolator.Method c : CubicInterpolator.Method.values()) System.out.println(c);
public static CubicInterpolator.Method valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null