See: Description
Interface | Description |
---|---|
Interpolator |
Interface that all interpolators should implement.
|
InterpolatorFactory |
Interface for a class that defines how to create
Interpolator
instances for an application. |
Class | Description |
---|---|
AbstractInterpolator |
Abstract base class for all
Interpolator s. |
AkimaSplineInterp |
Interpolate a series of points using a scheme based Akima's splines.
|
BasicInterpolatorFactory |
This class creates and enumerates the types of
Interpolator
that are available. |
CubicSplineInterp |
Interpolate values using a natural cubic spline.
|
HermiteSplineInterp |
Spline interpolate a series of points using a scheme based on
Hermite polynomials.
|
InterpolatedCurveIterator |
An iterator over an InterpolatedCurve2D.
|
LinearInterp |
Interpolate values using a linear scheme.
|
PolynomialInterp |
Interpolate values using a simple polynomial fit.
|
Provides a set of classes for creating objects that interpolate between a list of positions in various (useful) ways.
All interpolators are concrete sub-classes of
Interpolator
. To use these
either supply arrays of positions and values to the appropriate
constructor, or use the
Interpolator.setCoords(double[], double[], boolean)
method.
The interpolated values can then be queried using the
Interpolator.interpolate(double)
method,
supplying the position the value is required for.
Interpolators can be used together with the
InterpolatedCurve2D
class to
display themselves as Java2D graphics objects.
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.