voronoi_city_test
voronoi_city_test
a MATLAB code which
calls voronoi_city(), which
displays the steps involved in computing the Voronoi diagram
of 3 points, which we think of as 3 cities connected by roads.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the MIT license
Related Data and Programs:
voronoi_city,
a MATLAB code which
displays the steps involved in computing the Voronoi diagram
of 3 points, which we think of as cities connected by roads.
Source Code:
-
voronoi_city01.png,
displays cities A and B.
-
voronoi_city02.png,
add road AB.
-
voronoi_city03.png,
split road AB.
-
voronoi_city04.png,
add city C.
-
voronoi_city05.png,
add road AC.
-
voronoi_city06.png,
split road AC.
-
voronoi_city07.png,
add road BC.
-
voronoi_city08.png,
split road BC.
-
voronoi_city09.png,
show all splitting lines.
-
voronoi_city10.png,
Voronoi diagram for A, B, C.
Last revised on 19 February 2019.