X-Git-Url: https://melusine.eu.org/syracuse/G/git/?a=blobdiff_plain;f=test%2Fdelaunay.tex;h=0bc1393917b94cb7f241fe371acf590abe281e25;hb=de12f6c65e1e5533bf5971313ba6d0dced4a5666;hp=adb9525fea44542eb71aef710cc3e72c617c6040;hpb=f86b1ec82bbbba1a96989bb5d6f5b78e261659a1;p=delaunay.git diff --git a/test/delaunay.tex b/test/delaunay.tex index adb9525..0bc1393 100644 --- a/test/delaunay.tex +++ b/test/delaunay.tex @@ -16,9 +16,9 @@ \buildMeshBW[mode=ext,bbox = show, color=red,colorBbox = blue]{mesh.txt} -\tracePointsMesh[mode=ext,bbox = show, color=red,print=points]{mesh.txt} +\drawPointsMesh[mode=ext,bbox = show, color=red,print=points]{mesh.txt} -\tracePointsMesh[mode=ext,bbox = show, color=red]{mesh.txt} +\drawPointsMesh[mode=ext,bbox = show, color=red]{mesh.txt} \buildMeshBWinc[mode=ext,bbox = show, color=red,colorBbox = blue]{mesh.txt}{% @@ -93,9 +93,9 @@ color=red]{(0,0);(3.5,3);(7,0);(7.5,5);(1.61,3.14);(3,1);(6,1.5)} \buildMeshBW[tikz,mode=ext, color=red]{mesh.txt} -\tracePointsMesh[tikz,mode=ext,bbox = show, +\drawPointsMesh[tikz,mode=ext,bbox = show, color=red,print=points]{mesh.txt} -\tracePointsMesh[tikz,mode=ext,bbox = show, color=red]{mesh.txt} +\drawPointsMesh[tikz,mode=ext,bbox = show, color=red]{mesh.txt} \buildMeshBWinc[tikz,mode=ext,bbox = show, colorBbox = blue]{mesh.txt}{% }% @@ -139,4 +139,32 @@ colorBbox = black ] {(0,0);(3.5,3);(7,0);(7.5,5);(1.61,3.14);(6,4)}{(3,1)} + +% \def\CircumPoint{y} +% \luampcolor +% \directlua{ +% buildVoronoiMP("mesh.txt","ext","points","","1cm","show") +% } +\buildVoronoiBW[mode=ext]{mesh.txt} +\buildVoronoiBW[mode=ext,delaunay=show,colorVoronoi=green!60!blue]{mesh.txt}\par +\buildVoronoiBW[mode=ext,print=points,delaunay=show,bbox=show,meshpoint=x,circumpoint=y]{mesh.txt} + + +\buildVoronoiBW[tikz,mode=ext]{mesh.txt} +\buildVoronoiBW[tikz,mode=ext,delaunay=show,colorVoronoi=green!60!blue]{mesh.txt}\par +\buildVoronoiBW[tikz,mode=ext,print=points,delaunay=show,bbox=show,meshpoint=x,circumpoint=y]{mesh.txt} + +\buildVoronoiBWinc[mode=ext]{mesh.txt}{beginfig(0);}{endfig;} +\buildVoronoiBWinc[tikz,mode=ext]{mesh.txt}{}{} + + +\buildVoronoiBWinc[tikz,mode=ext,print=points,delaunay=show,meshpoint=x,circumpoint=y]{mesh.txt}{}{\draw[color=blue,thick] (0,0)--(3,3);} + +\def\MeshPoints{P} +\directlua{ + drawGmshMP("maillage.msh","points","8cm") +}\par +\directlua{ + buildGmshVoronoiMP("maillage.msh","none","8cm","none") +} \end{document}