Function cwipc_join

Function Documentation

cwipc_pointcloud *cwipc_join(cwipc_pointcloud *pc1, cwipc_pointcloud *pc2)

Combine two pointclouds.

Returns a new pointcloud that contains all points in both sources. Timestamp and cellsize is set to the minimum of both values in the sources. Note: this function is primarliy intended for debugging and inspecting pointclouds, it is not coded for efficiency.

Parameters:
  • pc1 – A source pointcloud.

  • pc2 – Another source pointcloud.

Returns:

a new pointcloud