implementation of voronoi diagram by topology oriented method