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 423
Last Updated: 13 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.