public class CatmullRomSpline extends ParametricCurve
CardinalSpline| Constructor and Description |
|---|
CatmullRomSpline(ControlPath cp,
GroupIterator gi) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(MultiPath mp)
The requirements for this curve are the group-iterator must be in-range and have a group size of at least 4.
|
protected void |
eval(double[] p)
The eval method evaluates a point on a curve given a parametric value "t".
|
int |
getSampleLimit()
Returns a value of 1.
|
getConnect, getControlPath, getGroupIterator, resetMemory, setConnect, setControlPath, setGroupIteratorpublic CatmullRomSpline(ControlPath cp, GroupIterator gi)
protected void eval(double[] p)
ParametricCurveeval in class ParametricCurvepublic int getSampleLimit()
getSampleLimit in class ParametricCurvepublic void appendTo(MultiPath mp)
appendTo in class CurveMultiPath,
BinaryCurveApproximationAlgorithmCopyright © 2016. All rights reserved.