X-Git-Url: https://melusine.eu.org/syracuse/G/git/?p=delaunay.git;a=blobdiff_plain;f=test%2Fdelaunay.tex;h=b7a5011121b62d987845f5cb751373bd14da15b7;hp=2f03f2cef11b911dd62e30dfd137b9c6c97c76a3;hb=5d563ad5ea0e2ca2074f5262b69f24f7fc91f211;hpb=776ad3dd0098ae161c45a2973036f0c435389920 diff --git a/test/delaunay.tex b/test/delaunay.tex index 2f03f2c..b7a5011 100644 --- a/test/delaunay.tex +++ b/test/delaunay.tex @@ -7,47 +7,47 @@ \pagestyle{empty} \begin{document} -\buildMesh[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)} - -\buildMesh[tikz, bbox = show]{(0,0);(3.5,3);(7,0);(7.5,5);(1.61,3.14);(3,1);(6,1.5)} - -\buildMesh[mode=ext]{mesh.txt} - -\meshAddOnePoint[ -meshpoint = x, -colorNew =green!20!red, -colorBack=red!10, -colorCircle = green!70, -scale=0.6cm] -{(0,0);(3.5,3);(7,0);(7.5,5);(1.61,3.14);(6,4)}{(3,1)} -\meshAddOnePoint[ -meshpoint = x, -colorBack=red!10, -colorNew = green!20!red, -scale=0.6cm, -step=cavity] -{(0,0);(3.5,3);(7,0);(7.5,5);(1.61,3.14);(6,4)}{(3,1)} +% \buildMesh[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)} + +% \buildMesh[tikz, bbox = show]{(0,0);(3.5,3);(7,0);(7.5,5);(1.61,3.14);(3,1);(6,1.5)} + +% \buildMesh[mode=ext]{mesh.txt} + +% \meshAddOnePoint[ +% meshpoint = x, +% colorNew =green!20!red, +% colorBack=red!10, +% colorCircle = green!70, +% scale=0.6cm] +% {(0,0);(3.5,3);(7,0);(7.5,5);(1.61,3.14);(6,4)}{(3,1)} +% \meshAddOnePoint[ +% meshpoint = x, +% colorBack=red!10, +% colorNew = green!20!red, +% scale=0.6cm, +% step=cavity] +% {(0,0);(3.5,3);(7,0);(7.5,5);(1.61,3.14);(6,4)}{(3,1)} \meshAddOnePoint[ meshpoint = x, colorBack=red!10, colorNew = green!20!red, scale=0.6cm, -step=newtriangles, +step=badtriangles, newpoint = y, bbox = show ] {(0,0);(3.5,3);(7,0);(7.5,5);(1.61,3.14);(6,4)}{(3,1)} +\mplibcolor\myclr{red} -% \newcommand\mpred{\mpcolor{red}} -% \newcommand\test{dotlabel(btex $x$ etex, (0,0));draw (0,0)--(2cm,0) withcolor red;} +\newcommand\test{draw (0,0) -- (2cm,0) withcolor \myclr;} -% \begin{mplibcode} -% beginfig(0); -% %\meshAddOnePoint[picture=embedded]{(0,0);(3.5,3);(7,0);(7.5,5);(1.61,3.14);(6,4)}{(3,1)} -% \test -% endfig; -% \end{mplibcode} +\begin{mplibcode} + beginfig(0); + %\meshAddOnePoint[picture=embedded]{(0,0);(3.5,3);(7,0);(7.5,5);(1.61,3.14);(6,4)}{(3,1)} + \test + endfig; +\end{mplibcode} \end{document}