• Calculate basis function value for NURBS

    Public helper kept for callers that need one basis value at a time. Inside loops use the span-local evaluator instead: this routine evaluates the degree-k basis directly by the definition and is exponential in k.

    Parameters

    • i: number
    • k: number
    • u: number
    • knots: number[]

    Returns number