public class CubicSplineCurve extends Object
| Modifier and Type | Field and Description | 
|---|---|
int | 
numSegments  | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
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 requiredpublic float getTotalCurveLength()
Copyright © 2016–2022 SciJava. All rights reserved.