X-Git-Url: https://melusine.eu.org/syracuse/G/git/?p=delaunay.git;a=blobdiff_plain;f=doc%2Fluamesh-doc.listing;h=6d412ad12ea422db504a5750525ebce23361250e;hp=805f63088225fae6932581a109e3f19762233657;hb=9a7fa0ea882050fc752a0c53137d38209664a4e7;hpb=c08f7d2524bc559738fc7b21285c8c751705ef6f diff --git a/doc/luamesh-doc.listing b/doc/luamesh-doc.listing index 805f630..6d412ad 100644 --- a/doc/luamesh-doc.listing +++ b/doc/luamesh-doc.listing @@ -1,51 +1,26 @@ -\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; -} + \drawPointsMeshinc[ + tikz, + 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 + }% + {% code after + \node[color = blue!50] at (0,2) {Mesh $\mathbb{T}$} ; + } + \buildMeshBWinc[% + tikz, + 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 + } + {% code after + \draw[<->,thick, color=green] (MeshPoints3) -- (MeshPoints9); + }