public class KBCubicSplineCurve
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
int |
numSegments |
Modifier and Type | Method | Description |
---|---|---|
KBCubicSplineSegment |
getSegment(int index) |
This method returns the KBCubicSplineSegments pointed to by index
|
float |
getTotalCurveLength() |
This method returns the total length of the entire KBCubicSplineCurve
motion path.
|
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.
|
public void setSegments(KBCubicSplineSegment[] s)
s
- the list of segments that comprise the complete motion pathpublic KBCubicSplineSegment getSegment(int index)
index
- the index of the KBCubicSplineSegment requiredpublic float getTotalCurveLength()
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.