I am trying to make my code randomly and quickly find a point (x,y) in the A disc and that is not part of any other present discs, if that point does exist. However, the only method I have found is a long and labourous method since it randomly picks a point and checks if it corresponds to or not. However, in the event where over 99% of the A disc is intersecting with other Bi discs, it evidently is near impossible.
I can’t seem to find a better solution. By hand it’s simple, but in the discreet domain of algorithms it’s harder.
Would any of you have an idea?
Attached is an illustration of the problem, where the blue section represents the area in which the point can be randomly selected.
Thanks in advance for your help.
Doualamm
the only method I have found is a long and labourous method since it randomly picks a point and checks if it corresponds to or not. However, in the event where over 99% of the A disc is intersecting with other Bi discs, it evidently is near impossible.enter image description here
Doualamm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.