public static enum CubicHermite.Tangents extends Enum<CubicHermite.Tangents> implements CubicHermite.Tangent
Enum Constant and Description |
---|
CATMULL_ROM
Catmull-Rom splines are a special case of Cardinal splines and are defined as:
\[
(\frac{\partial y}{\partial x})_k = \frac{y_{k+1} - y_{k-1}}{x_{k+1} - x_{k-1}}.
|
FINITE_DIFFERENCE
The simplest choice is the three-point difference, not requiring constant interval
lengths.
|
Modifier and Type | Method and Description |
---|---|
static CubicHermite.Tangents |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CubicHermite.Tangents[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
tangentAt
public static final CubicHermite.Tangents CATMULL_ROM
public static final CubicHermite.Tangents FINITE_DIFFERENCE
public static CubicHermite.Tangents[] values()
for (CubicHermite.Tangents c : CubicHermite.Tangents.values()) System.out.println(c);
public static CubicHermite.Tangents valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.