$\begingroup$$\endgroup$
13I have to randomly put$N$ points in a sphere of radius$R$ in a way that the distance of every point from the other points is greater than or equal to$r_0$. Is there an algorithm to solve this problem? Thanks in advance.
- 2$\begingroup$in 3D? Any other restriction? If no, how about putting them on a single point? The problem seems to lack some context$\endgroup$VIVID– VIVID2025-11-28 11:17:17 +00:00Commentedyesterday
- $\begingroup$@VIVID: Yes in 3D. It is impossible to put $N$ points in a single point. The distance constrain wouldn't be satisfied.Sorry. I wrote 'less' instead of greater. I corrected the typo.$\endgroup$Riccardo.Alestra– Riccardo.Alestra2025-11-28 11:32:44 +00:00Commentedyesterday
- 2$\begingroup$Do you really have to perform it "randomly"?$\endgroup$Christophe Boilley– Christophe Boilley2025-11-28 12:39:36 +00:00Commentedyesterday
- $\begingroup$@ChristopheBoilley: yes. I have this constrain. Otherwise it seems to me to be much easy.$\endgroup$Riccardo.Alestra– Riccardo.Alestra2025-11-28 13:24:53 +00:00Commentedyesterday
- 2$\begingroup$easy to implement but inefficient: the rejection method$\endgroup$user619894– user6198942025-11-28 13:42:20 +00:00Commented23 hours ago
You mustlog in to answer this question.
Explore related questions
See similar questions with these tags.
