Closest point issue

this should be quite simple, I want to select the closest point between 2 points, why I get the same value ?


closest (19.8 KB)

You misunderstand the bounds and deconstruct domain.

The bounds gives you range the value list lies in while the deconstruct gives you the minimum value.
What you want is to sort you point list based on distance and get the one that is closer.
Reason I didn’t modify your file as it didn’t upload correctly.

ok, thanks for getting back!

IsoVist Ray finds the first intersection with an obstacle:closest (18.8 KB)

1 Like