Voronoi Diagram for a set of points and straight line segments is difficult to construct because general figures have uncertain shapes[. In traditional algorithm, when generator of general figure changes, production process will be extremely complex because of the change of regions neighboring with those generator changed. In this paper, we use dynamicconstruction of Voronoi diagrams. The algorithm can get over all kinds of shortcomings that we have just mentioned. So it is more useful and effective than the traditional algorithm[2]. The results show that the algorithm is both simple and useful, and it is of high potential value in practice.