(require("compute/voteCasters/ranking/castRankingFindPolygons"))(voterGeom, canPoints)
Make polygons for each group of voters that gives a unique ranking.
Divide a starting polygon into smaller polygons.
Use a dividing line for each pair of candidates.
Parameters:
Name | Type | Description |
---|---|---|
voterGeom |
object | |
canPoints |
Array.<Array.<number>> |
Methods
(inner) makeCircle(voterGeom)
Make an approximate circle.
Parameters:
Name | Type | Description |
---|---|---|
voterGeom |
object |