Hello, I m trying to get one closest point from a group of point to a other group of points.
My goal is to find the nearest location for every building in a city quarter, so this location would be the less longest distance for every inhabitant of this quarter to meet.
So I got 77 ground planes of buildings, I took from them the centroid, to use them as attractor points.
Now I want to find one/the closest point to all of my attractor points from the Square Grid points using Closest Point Component. But I’m not getting it right.
Instead of getting a unique point from the grid, I always end up with each Grid point being the closest to each attractor point.
In addition I can suggest some Graph theory plugins to use if you’re analysing things like these. Mine (Megarachne | Food4Rhino) or Dachaun’s (LeafVein | Food4Rhino) will help you to analyse buildings in terms of closest paths and other once you will turn this grid into a graph
Wow many thanks for your time!
I think the pink one should be right. I would never have used the average component. I don’t quite understand what it does but it seems to work.^^ You are the best!
This is a great community thanks a lot for that!
It averages all the values that you pass in! If you pass in 10, 3, and 17, it returns 10, because (10 + 3 + 17 ) / 3 = 10. For points, it does the same. It adds all their x-, y-, and z-values together and divides them by the number of points that you input, from which an average point results.