edu.stanford.rsl.konrad.geometry.splines.capi
Class CAPIBSpline
java.lang.Object
com.graphbuilder.curve.Curve
com.graphbuilder.curve.ParametricCurve
com.graphbuilder.curve.BSpline
edu.stanford.rsl.konrad.geometry.splines.capi.CAPIBSpline
public class CAPIBSpline
- extends com.graphbuilder.curve.BSpline
Fields inherited from class com.graphbuilder.curve.BSpline |
NON_UNIFORM, UNIFORM_CLAMPED, UNIFORM_UNCLAMPED |
Constructor Summary |
CAPIBSpline(com.graphbuilder.curve.ControlPath cp,
com.graphbuilder.curve.GroupIterator gi,
double[] knot)
|
Methods inherited from class com.graphbuilder.curve.BSpline |
appendTo, getDegree, getKnotVector, getKnotVectorType, getSampleLimit, getUseDefaultInterval, resetMemory, setDegree, setInterval, setKnotVector, setKnotVectorType, setSampleLimit, setUseDefaultInterval, t_max, t_min |
Methods inherited from class com.graphbuilder.curve.Curve |
getConnect, getControlPath, getGroupIterator, setConnect, setControlPath, setGroupIterator |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CAPIBSpline
public CAPIBSpline(com.graphbuilder.curve.ControlPath cp,
com.graphbuilder.curve.GroupIterator gi,
double[] knot)
eval
public void eval(double[] point)
- Overrides:
eval
in class com.graphbuilder.curve.BSpline
evalFast
public double[] evalFast(double t)
distanceFast
public double distanceFast(double[] plane,
double u)
distance
public double distance(double[] plane,
int num)
computeN
public double computeN(double u,
int i)