Cloud2Cloud distance issue

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
zielas
Posts: 1
Joined: Fri Aug 01, 2014 12:28 pm

Cloud2Cloud distance issue

Post by zielas »

Hello,

i'm trying to compute distance between two clouds and i'm getting strange behavior.
When i try to compute distance between original clouds it's last forever (noticed that the approximate distances are huge), but when i mirror them by Y axis it's immediate.

I've attached four clouds. Couold you take a look at this and give me some clue?
Attachments
data.zip
Clouds
(229.82 KiB) Downloaded 351 times
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Cloud2Cloud distance issue

Post by daniel »

Interesting! That must be a bug, I'll look at this asap.

Thanks for the feedback,

Daniel
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Cloud2Cloud distance issue

Post by daniel »

Okay I found it. This was a tricky one: an ugly round-off issue due to the fact that the cloud was perfectly flat and that the internal tests were not robust to this particular case. So I changed a few things so as to never fall in the same kind of issues in the future.

Here is the corresponding version (2.5.6.beta, 64bits):
(edit: link removed)

Once again, thanks for the feedback!
Daniel, CloudCompare admin
Post Reply