In this course work i have done a voronoi diagram and polygon intersection. It's a bad code. Done in a hurry.