Skip to main content
1 of 2

Need help maximizing distances to nearest neighbor in a cylinder

I have a cylinder and I want to maximize the number of points in the cylinder such that the distances to the nearest neighbors are maximally spaced. How do I find out how many points I can have so they are X distance apart?

Specific Ex. I have a cylinder of hight 20m and base radius of 10m. What is the maximum number of points I can have in the cylinder such that they are all at least 10m apart from the nearest neighbor?

Does it matter if it is a cylinder vs. any area with some height?

What is a formula for this? Bonus if you have an excel formula.