Specific Points deal with specific areas

unhandled

#1

Hi all,
Attached, a series of points are examined to be inside 2 circles,
If yes, then there should be a vector extending from the center of the host circle to the point.
It gets ugly when points inside one circle do business with the center of another circle as well,
Can you please let me know how to fix this?
test 02.gh (6.3 KB)
test 02.3dm (90.0 KB)


Thanks


(Amir Habibi) #2

What’s the point ? you want the correct display of vectors in each circle ? see attached if helps .
Vec_Display.gh (9.4 KB)


#3

The point is, there should be 3 vectors only.
2 inside the left circle ( because there are two points inside this circle)
And one vector inside the right circle.
The image shows there are currently 5 vectors instead of three.


(Amir Habibi) #4

Check the file


(376093814) #5

vec.gh (6.7 KB)

I have a better way


#6

@Amir_Habibi & @376093814
Brilliant solutions,
Thank you both,