splinepy.bspline.BSpline.uniform_refine#

BSpline.uniform_refine(para_dims=None, n_knots=1)#

Uniformly refines all knot-spans in given direction(s) by given degree(s). By default, every dimension will be refined with 1 knot per knot span.

Parameters:
  • para_dims (int or list) – list of parametric dimensions to be refined (default None -> all)

  • n_knots (int or list) – number of new knots per knot span

Return type:

None