pub fn rand_points_within_sphere(radius: f64, npts: usize) -> Vec<Coord3> 
Expand description

Create random points within a sphere

Parameters

  • radius: cutoff radius
  • ntps: the number of points to be generated