X-Git-Url: https://melusine.eu.org/syracuse/G/git/?a=blobdiff_plain;f=test%2Fdelaunay.tex;h=45a7ff442324fccbdf4883f660d2ecf0c54fca43;hb=HEAD;hp=1c3d0ef49c872352db3a092b371130f2a0502588;hpb=581ccb9539f0af81056af73d3354fd895f1d7d55;p=delaunay.git diff --git a/test/delaunay.tex b/test/delaunay.tex index 1c3d0ef..45a7ff4 100644 --- a/test/delaunay.tex +++ b/test/delaunay.tex @@ -14,7 +14,7 @@ %\buildMeshBW[tikz, bbox = show]{(0,0);(3.5,3);(7,0);(7.5,5);(1.61,3.14);(3,1);(6,1.5)} -\buildMeshBW[mode=ext,bbox = show, color=red,colorBbox = blue]{mesh.txt} +\buildMeshBW[mode=ext,bbox = show, color=red,colorBbox = blue,print=dotpoints]{mesh.txt} \drawPointsMesh[mode=ext,bbox = show, color=red,print=points]{mesh.txt} @@ -91,7 +91,7 @@ endfig; \buildMeshBW[tikz,print=points, meshpoint = I, 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} +\buildMeshBW[tikz,mode=ext, color=red,print=dotpoints]{mesh.txt} \drawPointsMesh[tikz,mode=ext,bbox = show, color=red,print=points]{mesh.txt} @@ -171,4 +171,22 @@ colorBbox = black \drawGmsh[tikz,scale=8cm]{maillage.msh} \gmshVoronoi[tikz,scale=8cm,print=points,delaunay=show]{maillage.msh} + + +\meshPolygon[step=polygon,scale=3cm]{(0,0);(1,0);(1,0.5);(0.5,1);(-0.3,0.3)} +\meshPolygon[step=grid,scale=3cm]{(0,0);(1,0);(1,0.5);(0.5,1);(-0.3,0.3)} +\meshPolygon[step=points,scale=3cm,print=points]{(0,0);(1,0);(1,0.5);(0.5,1);(-0.3,0.3)} +\meshPolygon[step=mesh,scale=3cm,print=dotpoints,gridpoints=perturb]{(0,0);(1,0);(1,0.5);(0.5,1);(-0.3,0.3)} + +\meshPolygon[tikz,step=polygon,scale=3cm]{(0,0);(1,0);(1,0.5);(0.5,1);(-0.3,0.3)} +\meshPolygon[tikz,step=grid,scale=3cm]{(0,0);(1,0);(1,0.5);(0.5,1);(-0.3,0.3)} +\meshPolygon[tikz,step=points,scale=3cm,print=points]{(0,0);(1,0);(1,0.5);(0.5,1);(-0.3,0.3)} +\meshPolygon[tikz,step=mesh,scale=3cm,print=dotpoints]{(0,0);(1,0);(1,0.5);(0.5,1);(-0.3,0.3)} + +\meshPolygonInc[step=points,scale=3cm,print=dotpoints]{(0,0);(1,0);(1,0.5);(0.5,1);(-0.3,0.3)}{% + beginfig(1); +}{% +endfig; +} + \end{document}