for an example:
why is the result not is 1 but 4
for an example:
why is the result not is 1 but 4
The NeighborFinder does not consider lengths of touching edges, if there's more than 1 match (in this case 1, 3 and 4 would all have a distance of 0 as they touch) it'll pick the first one it comes across as being the closest neighbor.
You may want to look into the SpatialFilter and Intersector if you want to pick the one with the longest joint edge as the closest match
okey