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

Last Updated: 17 December, 2024