public class SplineInterpolator extends AbstractSplineInterpolator
| Constructor and Description |
|---|
SplineInterpolator(float x1,
float y1,
float x2,
float y2) |
SplineInterpolator(float x1,
float y1,
float x2,
float y2,
boolean reverse,
long timespan) |
SplineInterpolator(float x1,
float y1,
float x2,
float y2,
long timespan) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.geom.Point2D.Float |
getXY(float t,
java.awt.geom.Point2D.Float p) |
float |
getY(float t) |
getFraction, update, updateFractionsfinish, initialize, interpolate, isElapsed, isFinished, isSequential, replaces, setTimespanpublic SplineInterpolator(float x1,
float y1,
float x2,
float y2)
public SplineInterpolator(float x1,
float y1,
float x2,
float y2,
long timespan)
public SplineInterpolator(float x1,
float y1,
float x2,
float y2,
boolean reverse,
long timespan)
public java.awt.geom.Point2D.Float getXY(float t,
java.awt.geom.Point2D.Float p)
getXY in class AbstractSplineInterpolatorpublic float getY(float t)
getY in class AbstractSplineInterpolatorCopyright © 2022. All Rights Reserved.