getTotalCurveLength() This method returns the total length of the entire CubicSplineCurve
motion path.
public void
setSegments(CubicSplineSegment s) This method takes a list of spline segments to replace the existing
set of CubicSplineSegments that comprise the current CubicSplineCurve
motion path.
This method takes a list of key frames and creates spline segments
from it. It requires at least four key frames to be passed to it.
Given n key frames, it creates n-3 CubicSplineSegments.
Parameters: keys - the list of key frames that specify the motion path
This method returns the CubicSplineSegments pointed to by index
Parameters: index - the index of the CubicSplineSegment required index the CubicSplineSegment pointed to by index
This method takes a list of spline segments to replace the existing
set of CubicSplineSegments that comprise the current CubicSplineCurve
motion path.
Parameters: s - the list of segments that comprise the complete motion path