Function cwipc_pointcloud_free

Function Documentation

void cwipc_pointcloud_free(cwipc_pointcloud *pc)

Deallocate the pointcloud data (C interface).

The internal implementation of the pointcloud data may be refcounted, but an explicit free method must be called to ensure the refcounting does not inadvertantly free the pointcloud when dereferenced from a different DLL or implementation language.

Whoever created the cwipc object in the first place is responsible for calling free, and the correct DLL will be invoked to actually free the data.

Parameters:

pc – The cwipc_pointcloud object.