|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hermit.geometry.spline.CubicSpline
public class CubicSpline
Implementation of a natural cubic spline.
Constructor Summary | |
---|---|
CubicSpline(Point[] points)
Create a cubic spline curve with a specified set of control points. |
Method Summary | |
---|---|
Point[] |
interpolate(int steps)
Interpolate the spline. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CubicSpline(Point[] points)
points
- The control points for this curve.Method Detail |
---|
public Point[] interpolate(int steps)
steps
- The number of steps to interpolate in each segment.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |