Function cwipc_pointcloud__shallowcopy

Function Documentation

cwipc_pointcloud *cwipc_pointcloud__shallowcopy(cwipc_pointcloud *pc)

Create a shallow copy of a pointcloud object.

Parameters:

pc – The cwipc_pointcloud object.

Returns:

The new cwipc_pointcloud object. The shallow copy shares the underlying (refcounted) point data storage.