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, setGroupIterator
public CatmullRomSpline(ControlPath cp, GroupIterator gi)
protected void eval(double[] p)
ParametricCurve
eval
in class ParametricCurve
public int getSampleLimit()
getSampleLimit
in class ParametricCurve
public void appendTo(MultiPath mp)
appendTo
in class Curve
MultiPath
,
BinaryCurveApproximationAlgorithm
Copyright © 2016. All rights reserved.