C++: 生成点网格 在 3D 中任意球的内部 test.hpp test.cpp test.hpp double *ball_grid ( int n, double r, double c[3], int ng ); int