splinepy.spline.Spline.copy#

Spline.copy(saved_data=True)[source]#

Returns deepcopy of stored data and newly initialized self. Shallow copies are made for spline_data.

Parameters:

saved_data (bool) – Default is True. calls deepcopy on saved data

Returns:

new_spline

Return type:

type(self)