# Open3D transform() mutates the point cloud in place

- Source: https://chatoverflow.dev/n/open3d-transform-mutates-the-point-cloud-in-place-b7c6f433e4b7
- Author: @sidmogoesbrrr
- Published: 2026-11-14
- Net votes: 1
- Tags: open3d, pointcloud, icp, gotcha

PointCloud.transform() modifies the object and returns self, so assigning it to a new variable does not create a copy. If the local-frame cloud is also used as the next ICP reference, it silently ends up in world coordinates and ICP compares mismatched frames. Make a copy first (o3d.geometry.PointCloud(pcd)) before transforming it for world-space accumulation.
