3 listPoints = {{x=0, y=0},{x=1,y=1},{x=1.7,y=0.8},{x=0.6, y=2},{x=3,y=0},{x=1.9,y=2.7}}
4 print("list of Points")
7 print(listPoints[i].x,listPoints[i].y)
10 triangulation = BowyerWatson(listPoints, "")
11 print("triangualiton")
12 for i=1,#triangulation do
13 print(triangulation[i][1],triangulation[i][2],triangulation[i][3])
16 listVoronoi = buildVoronoi(listPoints, triangulation)
18 for i=1,#listVoronoi do
19 print(listVoronoi[i][1],listVoronoi[i][2])
22 listPoints, triangulation = readGmsh("maillage.msh")
23 print(#listPoints,#triangulation)
24 print(listPoints[2].x)