pingwyn.core.func.copy

Create an in-memory copy of a pingwyn object.

This function mainly makes sense for inline function calls, as pg.* calls already make copies where applicable. As an example: ```

obj2 = obj.copy().remove_plane().align_rows()

```

param obj:

Pingwyn object to make a copy of.

type obj:

pingwyn.Curve or pingwyn.Grid or pingwin.Image or pingwyn.Profile

returns:

Copy of the provided object. Inherits the same type.

rtype:

pingwyn.Curve or pingwyn.Grid or pingwin.Image or pingwyn.Profile