splinepy.bspline.BSplineBase.sample#

BSplineBase.sample(resolutions, nthreads=None)#

Uniformly sample along each parametric dimensions from spline.

Parameters:
  • resolutions ((n,) array-like)

  • nthreads (int)

Returns:

results

Return type:

(math.product(resolutions), dim) np.ndarray