Question

Mathing X, Y, Z in PointCloudMerger


Hello everyone!

I'm trying to combine the components of two point clouds from their x,y,z coordinates but they never match 100% of the points... The help of the tool says that it may be necessary to round the coordinates but the transformer "pointcloudexpressionevaluator" does not have the "round" function... How could I round the coordinates of the x, y, z components to match and match? I would really appreciate any kind of help.

 

image.pngimage


2 replies

Userlevel 6
Badge +32

You can use  the PointCloudExpressionEvaluator to do the rounding, using

( floor( @Component(x) * 1000.0 ) / 1000.0 )

for 3 decimals, or

( floor( @Component(x) * 1000000.0 ) / 1000000.0 )

for 6 decimals.

 

Also see this topic.

Thank you very much!

This solution worked for me

Reply