create MethodStatic
Create knot vector with given knot values and degree.
create(knotArray: Float64Array | number[], degree: number, skipFirstAndLast?: boolean): KnotVector
Parameter | Type | Description |
---|---|---|
knotArray | Float64Array | number[] | knot values |
degree | number | degree of polynomial |
skipFirstAndLast | boolean | true to skip copying the first and last knot values. |
Returns - KnotVector
Defined in
- bspline/KnotVector.ts Line 263
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.