|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.j3d.utils.behaviors.interpolators.KBCubicSplineCurve
public class KBCubicSplineCurve
KBCubicSplineCurve is a container class that holds a number of KBCubicSplineSegments
Field Summary | |
---|---|
int |
numSegments
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int numSegments
Method Detail |
---|
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 required
public float getTotalCurveLength()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |