getTotalCurveLength() This method returns the total length of the entire KBCubicSplineCurve
motion path.
public void
setSegments(KBCubicSplineSegment s) This method takes a list of spline segments to replace the existing
set of KBCubicSplineSegments that comprise the current
KBCubicSplineCurve 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 KBCubicSplineSegments.
Parameters: the - list of key frames that specify the motion path
This method returns the KBCubicSplineSegments pointed to by index
Parameters: index - the index of the KBCubicSplineSegment required the KBCubicSplineSegment pointed to by index
This method takes a list of spline segments to replace the existing
set of KBCubicSplineSegments that comprise the current
KBCubicSplineCurve motion path.
Parameters: s - the list of segments that comprise the complete motion path