import type { BezierResult, UtilPoint } from '../types/util-types'; /** * For a pinned spline, the knots have to be repeated k times * (where k is the order), at both the beginning and the end */ export declare const checkPinned: (k: number, knots: number[]) => void; export declare const multiplicity: (knots: number[], index: number) => number; /** * https://saccade.com/writing/graphics/KnotVectors.pdf * A quadratic piecewise Bézier knot vector with seven control points * will look like this [0 0 0 1 1 2 2 3 3 3]. In general, in a * piecewise Bézier knot vector the first k knots are the same, * then each subsequent group of k-1 knots is the same, * until you get to the end. */ export declare const computeInsertions: (k: number, knots: number[]) => number[]; export default function toPiecewiseBezier(k: number, controlPoints: UtilPoint[], knots: number[]): BezierResult; //# sourceMappingURL=toPiecewiseBezier.d.ts.map