Package-level declarations
Types
A B-spline curve of degree p with controlPoints and a non-decreasing knots vector of length controlPoints.size + p + 1, after Piegl and Tiller, "The NURBS Book" (Springer, 1997). The curve is defined on the domain from knot p to knot controlPoints.size, is C^(p-k) where a knot has multiplicity k, and stays inside the convex hull of every p + 1 consecutive control points.
Creates a 2D Catmull-Rom spline curve.
Creates a 3D Catmull-Rom spline curve.
Calculates the 1D Catmull–Rom spline for a chain of points and returns the combined curve.
Calculates the 2D Catmull–Rom spline for a chain of points and returns the combined curve.
Calculates the 3D Catmull–Rom spline for a chain of points and returns the combined curve.
Functions
Converts this polyline into a circle spline through all points, after Séquin, Lee and Yen, "Fair, G2- and C2-continuous circle splines for the interpolation of sparse data points" (Computer-Aided Design, 2005).
The B-spline of degree that passes through these 2D points, see interpolatingBSpline.
The B-spline of degree that passes through these 3D points, see interpolatingBSpline.
The B-spline of degree that passes through these points, after Piegl and Tiller, "The NURBS Book", algorithm A9.1.
Converts this 3D polyline into a Kochanek-Bartels spline with a tension, continuity and bias per point.
Converts this polyline into a Kochanek-Bartels spline with a tension, continuity and bias per point, see List.kochanekBartels.
Converts this 3D polyline into a Kochanek-Bartels spline, for instance for a camera path, see List.kochanekBartels.
Converts this polyline into a Kochanek-Bartels spline, after Kochanek and Bartels, "Interpolating splines with local tension, continuity, and bias control" (SIGGRAPH 1984): a cubic Hermite spline through all points whose tangents are shaped by a tension, continuity and bias, see TCB. With all three 0 it is the uniform Catmull-Rom spline.
Converts chain to a ShapeContour.
This spline as a ShapeContour: exactly, one Bézier segment per knot span, for degree 1 to 3, and approximated by cubic Béziers within tolerance for higher degrees.
Converts spline to a Segment2D.
Converts the current 3D Catmull-Rom spline segment into a cubic Bézier curve representation.