Function voronoi::lloyd_relaxation
[−]
[src]
pub fn lloyd_relaxation(pts: Vec<Point>, box_size: f64) -> Vec<Point>
Produces the Lloyd Relaxation of a set of points.
Each point is moved to the centroid of its Voronoi cell.