public class BasicInterpolatorFactory extends Object implements InterpolatorFactory
Interpolator
that are available.AKIMA, CUBIC, defaultShortNames, HERMITE, LINEAR, POLYNOMIAL
Modifier and Type | Method and Description |
---|---|
static InterpolatorFactory |
getInstance()
Return reference to the only allowed instance of this class.
|
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.
|
public static InterpolatorFactory getInstance()
public int getInterpolatorCount()
InterpolatorFactory
getInterpolatorCount
in interface InterpolatorFactory
public Interpolator makeInterpolator(int interpolator)
InterpolatorFactory
makeInterpolator
in interface InterpolatorFactory
public String getShortName(int interpolator)
InterpolatorFactory
getShortName
in interface InterpolatorFactory
public int getTypeFromName(String name)
InterpolatorFactory
getTypeFromName
in interface InterpolatorFactory
public int getInterpolatorType(Interpolator interpolator)
InterpolatorFactory
getInterpolatorType
in interface InterpolatorFactory
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.