create MethodStatic
Create knot vector with given knot values and degree.
create(knotArray: number[] | Float64Array, degree: number, skipFirstAndLast?: boolean): KnotVector
Parameter | Type | Description |
---|---|---|
knotArray | number[] | Float64Array | 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 270
Last Updated: 20 June, 2023