Public Member Functions | |
List< Vector2D > | getBackwardTangents () |
List< Point2D > | getControlPoints () |
List< Vector2D > | getForwardTangents () |
Shape | getLineShape () |
List< Point2D > | getPathPoints () |
Shape | getShape () |
void | setPoints (double[] x, double[] y) |
void | setPoints (List< Point2D > points) |
TODO: Create a different hybridized spline, that will only go to Catmull-Rom if the points are far enough apart. |
This software is distributed under the BSD License.
Definition at line 20 of file CatmullRomSpline.java.
List<Vector2D> getForwardTangents | ( | ) |
Shape getLineShape | ( | ) |
List<Point2D> getPathPoints | ( | ) |
Shape getShape | ( | ) |
Definition at line 69 of file CatmullRomSpline.java.
Referenced by RenderingTechniqueHybrid.render(), and RenderingTechniqueCatmullRom.render().
void setPoints | ( | List< Point2D > | points | ) |
TODO: Create a different hybridized spline, that will only go to Catmull-Rom if the points are far enough apart.
Otherwise, it will just default to lineTos...
points |
Definition at line 139 of file CatmullRomSpline.java.
void setPoints | ( | double[] | x, | |
double[] | y | |||
) |
x | ||
y |
Definition at line 125 of file CatmullRomSpline.java.
Referenced by RenderingTechniqueHybrid.render(), and RenderingTechniqueCatmullRom.render().