|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.media.ding3d.utils.behaviors.interpolators.CubicSplineCurve
public class CubicSplineCurve
CubicSplineCurve is a container class that holds a number of cubicSplineSegments
| Field Summary | |
|---|---|
int |
numSegments
|
| Method Summary | |
|---|---|
CubicSplineSegment |
getSegment(int index)
This method returns the CubicSplineSegments pointed to by index |
float |
getTotalCurveLength()
This method returns the total length of the entire CubicSplineCurve motion path. |
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. |
| 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(CubicSplineSegment[] s)
s - the list of segments that comprise the complete motion pathpublic CubicSplineSegment getSegment(int index)
index - the index of the CubicSplineSegment required
public float getTotalCurveLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||