public class KBCubicSplineCurve extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
numSegments |
| Modifier and Type | Method and 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 © 2016–2022 SciJava. All rights reserved.