[][src]Function gchemol_geometry::rand_points_within_sphere

pub fn rand_points_within_sphere(radius: f64, npts: usize) -> Vec<[f64; 3]>

Create random points within a sphere

Parameters

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