knotToLeftKnotIndex Method
Find the knot span bracketing knots[i] <= u < knots[i+1] and return i.
- If u has no such bracket, return the smaller index of the closest nontrivial bracket.
knotToLeftKnotIndex(u: number): number
Parameter | Type | Description |
---|---|---|
u | number | value to bracket |
Returns - number
Defined in
- bspline/KnotVector.ts Line 415
Last Updated: 20 June, 2023