voronoi_city_test
voronoi_city_test
an Octave 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 information on this web page is distributed under the MIT license.
Related Data and Programs:
voronoi_city,
an Octave 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 24 September 2024.