X-Git-Url: https://melusine.eu.org/syracuse/G/git/?p=delaunay.git;a=blobdiff_plain;f=doc%2Fluamesh-doc.listing;h=805f63088225fae6932581a109e3f19762233657;hp=cf8777e1bb1027327568d06109eb3ade604077d9;hb=0fc3412f5527ee6e9e3e1291ae9d028e64b1db1c;hpb=60cfa183014f7810d3a82e4fb1c1a468454be97b diff --git a/doc/luamesh-doc.listing b/doc/luamesh-doc.listing index cf8777e..805f630 100644 --- a/doc/luamesh-doc.listing +++ b/doc/luamesh-doc.listing @@ -1,14 +1,51 @@ - \meshAddPointBW[ - tikz, - mode = ext, - color = blue!70, - meshpoint = \alpha, - newpoint = y, - colorBack=red!10, - colorNew = green!50!red, - colorCircle = blue, - colorBbox = black!20, - bbox = show, - scale=1.4cm, - step=badtriangles] - {mesh.txt}{6} +\drawPointsMeshinc[ +color = blue!50, +print = points, +meshpoint = x, +scale=0.8cm, +]{(0.3,0.3);(1.5,1);(4,0);(4.5,2.5);(1.81,2.14);(2.5,0.5);(2.8,1.5)}% +{% code before + beginfig(0); +}% +{% code after + label(btex Mesh $\mathbb{T}$ etex, (0,2u)) withcolor \luameshmpcolor; + endfig; +} +\buildMeshBWinc[% +bbox = show, +color = red, +colorBbox = blue!30, +print = points, +meshpoint = x, +scale=0.8cm +]{(0.3,0.3);(1.5,1);(4,0);(4.5,2.5);(1.81,2.14);(2.5,0.5);(2.8,1.5)}% +{% code before + beginfig(0); +} +{% code after + drawdblarrow MeshPoints[3] -- MeshPoints[9] withpen pencircle scaled 1pt + withcolor (0.3,0.7,0.2); + endfig; +} +\meshAddPointBWinc[ +meshpoint = \alpha, +newpoint = y, +colorBack=red!10, +colorNew = green!50!red, +colorCircle = blue, +colorBbox = black!20, +bbox = show, +scale=0.8cm, +step=badtriangles] +{(0.3,0.3);(1.5,1);(4,0);(4.5,2.5);(1.81,2.14);(2.5,0.5)}{(2.8,1.5)}% +{%code before + picture drawing; + drawing := image( +}{%code after + ); + beginfig(0); + fill MeshPoints[7]--MeshPoints[8]--MeshPoints[9]--MeshPoints[10]--cycle + withcolor \mpcolor{blue!10}; + draw drawing; + endfig; +}