![]() |
Python_2
1.0
|
Interactively draws a Delaunay triangulation and its dual Voronoi diagram. More...
Functions | |
def | display () |
def | reshape (wid, hgt) |
def | mouse (button, state, x, y) |
def | init () |
def | main (argv=None) |
Variables | |
int | width = 512 |
int | height = 512 |
list | points = [] |
triang = Delaunay_triangulation_2() | |
Interactively draws a Delaunay triangulation and its dual Voronoi diagram.
Usage: just click points on the window with the left mouse button.
def _13_VoronoiDemo.display | ( | ) |
def _13_VoronoiDemo.init | ( | ) |
def _13_VoronoiDemo.main | ( | argv = None | ) |
def _13_VoronoiDemo.mouse | ( | button, | |
state, | |||
x, | |||
y | |||
) |
def _13_VoronoiDemo.reshape | ( | wid, | |
hgt | |||
) |
int _13_VoronoiDemo.height = 512 |
list _13_VoronoiDemo.points = [] |
_13_VoronoiDemo.triang = Delaunay_triangulation_2() |
int _13_VoronoiDemo.width = 512 |