Lloyd's algorithm: Difference between revisions

Content deleted Content added
Undid revision 917934115 by Marnie Hawes (talk) ok, time to escalate
Lloyd's algorithm for 2D Voronoi diagrams uses weighted average of all simplex centroids not circumcenter.
Line 56:
** Trivially, a set of [[Tetrahedron|tetrahedra]] is obtained by connecting triangles of the cell's hull with the cell's site.
 
Integration of a cell and computation of its [[Centroid|centroid]] (center of mass) is now given as a weighted combination of its simplices' [[Circumscribed circle|circumcenters]]centroids (in the following called <math display="inline">\mathbf{c}_i</math>).
* Two dimensions:
** For a triangle the circumcircle and its center are uniquecentroid and can be easily computed, e.g. using [[Circumscribed circleCentroid#CircumcenterBy geometric coordinatesdecomposition|cartesian coordinates]].
** Weighting computes as simplex-to-cell '''area''' ratios.
* Three dimensions: