splinepy.multipatch.Multipatch.sample#

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

Uniformly sample along each parametric dimensions from spline.

Parameters:
  • resolutions (int)

  • nthreads (int)

Returns:

results

Return type:

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