Mesh.copy

Mesh.copy(cls=None)

Make an independent copy of the datastructure object.

Parameters

cls (compas.datastructure.Datastructure, optional) – The type of datastructure to return. Defaults to the type of the current datastructure.

Returns

compas.datastructure.Datastructure – A separate, but identical datastructure object.