splinepy.spline.Spline.sample#

Spline.sample(resolutions, nthreads=None)[source]#

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