public interface Interpolator
| Modifier and Type | Method and Description |
|---|---|
Point2D |
addPoint(double x,
double y)
Adds a new Point with the given x and y value.
|
void |
addPoints(int i,
List<Point2D> points)
Adds a List of Point at the given index.
|
void |
addPoints(List<Point2D> points)
Adds a List of Points.
|
void |
clear()
Clears all the Points from the Interpolator.
|
List<Point2D> |
getControlPoints()
Returns a list of the Interpolator's points.
|
List<Point2D> |
getInterpolatedPoints()
Returns a List of Points interpolated from the Interpolator's control
points.
|
org.jflux.api.common.rk.config.VersionProperty |
getInterpolatorVersion()
Return the Interpolator's VersionProperty.
|
Point2D |
insertPoint(int i,
double x,
double y)
Adds a new point at the given index.
|
boolean |
interpolationChanged()
Returns true if the List of interpolated Points has changed since last
being requested and needs to be recalculated.
|
Point2D |
removePoint(int i)
Remove the Point at the given index.
|
void |
removePoint(Point2D p)
Removes the given Point from the Interpolator.
|
Point2D |
setPoint(int i,
double x,
double y)
Sets the x and y values of the Point at the given index.
|
boolean |
touchesControlPoints() |
Point2D addPoint(double x, double y)
x - x-value to addy - y-value to addPoint2D insertPoint(int i, double x, double y)
i - index for where to add the new Pointx - x-value to addy - y-value to addvoid addPoints(List<Point2D> points)
points - List of Points to addvoid addPoints(int i,
List<Point2D> points)
i - index for where to add the Pointspoints - List of Points to addPoint2D setPoint(int i, double x, double y)
i - index of the point to setx - x-value to sety - y-value to setvoid removePoint(Point2D p)
p - the Point to removePoint2D removePoint(int i)
i - index of the Point to removeList<Point2D> getControlPoints()
List<Point2D> getInterpolatedPoints()
boolean interpolationChanged()
void clear()
org.jflux.api.common.rk.config.VersionProperty getInterpolatorVersion()
boolean touchesControlPoints()
Copyright © 2011-2014. All Rights Reserved.