public class EstimateCubic2DSpline
extends java.lang.Object
Constructor and Description |
---|
EstimateCubic2DSpline(java.util.ArrayList<PointND> gridPoints)
Constructor
|
Modifier and Type | Method and Description |
---|---|
UniformCubicBSpline |
estimateUniformCubic(int ctrlPoints)
This method provides the public interface to fit a spline
|
double[] |
getKnots()
Getter for the knot vector
|
public EstimateCubic2DSpline(java.util.ArrayList<PointND> gridPoints)
gridPoints
- ArrayList of the points that need to be fittedpublic UniformCubicBSpline estimateUniformCubic(int ctrlPoints)
ctrlPoints
- number of control points the spline should havepublic double[] getKnots()