805f63088225fae6932581a109e3f19762233657
[delaunay.git] / doc / luamesh-doc.listing
1 \drawPointsMeshinc[
2 color = blue!50,
3 print = points,
4 meshpoint = x,
5 scale=0.8cm,
6 ]{(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)}%
7 {% code before
8   beginfig(0);
9 }%
10 {% code after
11   label(btex Mesh $\mathbb{T}$ etex, (0,2u)) withcolor \luameshmpcolor;
12   endfig;
13 }
14 \buildMeshBWinc[%
15 bbox = show,
16 color = red,
17 colorBbox = blue!30,
18 print = points,
19 meshpoint = x,
20 scale=0.8cm
21 ]{(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)}%
22 {% code before
23   beginfig(0);
24 }
25 {% code after
26   drawdblarrow MeshPoints[3] -- MeshPoints[9] withpen pencircle scaled 1pt
27   withcolor (0.3,0.7,0.2);
28   endfig;
29 }
30 \meshAddPointBWinc[
31 meshpoint = \alpha,
32 newpoint = y,
33 colorBack=red!10,
34 colorNew = green!50!red,
35 colorCircle = blue,
36 colorBbox = black!20,
37 bbox = show,
38 scale=0.8cm,
39 step=badtriangles]
40 {(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)}%
41 {%code before
42   picture drawing;
43   drawing := image(
44 }{%code after
45   );
46   beginfig(0);
47   fill MeshPoints[7]--MeshPoints[8]--MeshPoints[9]--MeshPoints[10]--cycle
48   withcolor \mpcolor{blue!10};
49   draw drawing;
50   endfig;
51 }

Licence Creative Commons Les fichiers de Syracuse sont mis à disposition (sauf mention contraire) selon les termes de la
Licence Creative Commons Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions 4.0 International.