This project has moved and is read-only. For the latest updates, please go here.

Polygon partitioning/splitting Algorithm

Topics: Algorithms
May 10, 2007 at 12:22 PM
Edited May 10, 2007 at 12:23 PM
Hi, I have been searching for a while for a working Polygon partitioning/splitting Algorithm to use for an Election results Display system.
The concept is that I would color the Shapes (geometry objects) in hues of the various parties competing by area i.e. if Party A has 2000 out of the polled 5000 votes then and the area of the constituency is 5000km² then I would color the area (from bottom up) in its color (PartyAVotes/Polled * Area).
Anyone out there with any idea where to get this kind of an algorithm?