Pointcloud.union

Pointcloud.union(other, tol=None)[source]

Compute the union with another pointcloud.

Parameters:
otherPointcloud

The other pointcloud.

tolfloat, optional

The absolute tolerance for comparing the distance between points to zero. Default is None, in which case compas.tolerance.TOL.absolute is used.

Returns:
Pointcloud

The union pointcloud.