ball_grid_test, a C code which calls ball_grid(), which generates a grid of points within the interior of an arbitrary ball in 3D.
The computer code and data files described and made available on this web page are distributed under the MIT license
ball_grid, a C code which computes a grid of points over the interior of a ball in 3D.