In my code I wish to move a chunk (consisting of a point cloud, tie points and cameras) towards a point cloud in a different chunk. Both point clouds are from the same object, but the TO cloud is exactly georeferenced, whereas the FROM cloud is only approximately referenced. They are both in the Amersfoort CRS. I added my code to this post, up until the chunk transformation it works correctly I believe. However, the FROM cloud is not moved to the right location. What is missing/wrong in my code?
The reason I am working with this code is the fact that the TO cloud consists only of a dense point cloud and therefore I cannot use ALIGN CHUNKS, I believe. Please let me know if there are simpler ways to align a chunk to a different georeferenced chunk that only has a dense cloud.
* I changed the code, now the x and y movement seem okay, but the z and scale are wrong.