Quelques exemples de plus : cercles
authorJean-Michel Sarlat <jm.sarlat@gmail.com>
Sun, 4 Sep 2011 21:45:48 +0000 (23:45 +0200)
committerJean-Michel Sarlat <jm.sarlat@gmail.com>
Sun, 4 Sep 2011 21:45:48 +0000 (23:45 +0200)
exemples/cercles/LISTE.txt [new file with mode: 0644]
exemples/cercles/cercles1-1.pdf [new file with mode: 0644]
exemples/cercles/cercles1-1.png [new file with mode: 0644]
exemples/cercles/cercles1.mp [new file with mode: 0644]
exemples/cercles/cercles2-1.pdf [new file with mode: 0644]
exemples/cercles/cercles2-1.png [new file with mode: 0644]
exemples/cercles/cercles2.mp [new file with mode: 0644]
exemples/cercles/index.xml [new file with mode: 0644]
exemples/cercles/vue.xml [new file with mode: 0644]

diff --git a/exemples/cercles/LISTE.txt b/exemples/cercles/LISTE.txt
new file mode 100644 (file)
index 0000000..dcd7edb
--- /dev/null
@@ -0,0 +1,8 @@
+cercles1-1.png
+cercles2-1.png
+== Les sources
+cercles1.mp
+cercles2.mp
+== Les PDF
+cercles1-1.pdf
+cercles2-1.pdf
diff --git a/exemples/cercles/cercles1-1.pdf b/exemples/cercles/cercles1-1.pdf
new file mode 100644 (file)
index 0000000..6518d4c
Binary files /dev/null and b/exemples/cercles/cercles1-1.pdf differ
diff --git a/exemples/cercles/cercles1-1.png b/exemples/cercles/cercles1-1.png
new file mode 100644 (file)
index 0000000..5288505
Binary files /dev/null and b/exemples/cercles/cercles1-1.png differ
diff --git a/exemples/cercles/cercles1.mp b/exemples/cercles/cercles1.mp
new file mode 100644 (file)
index 0000000..d14064f
--- /dev/null
@@ -0,0 +1,52 @@
+input gdd;
+input gdd-rep;
+input gdd-lbl;
+input gdd-tra;
+input svgnames;
+
+lblPreambule := "\usepackage[frenchb]{babel}"       &
+                "\usepackage[garamond]{mathdesign}" &
+                "\usepackage{amsmath}";
+
+
+labeloffset := 6;
+
+gddTaillePoint := 3;
+gddCouleurPoint := Yellow;
+
+
+
+
+beginfig(1);
+
+
+ Repere(9,9,4,5,0.8,0.8);
+ Axes; 
+ Debut;
+  Axes;
+  Graduations; Unites(1);
+
+  C1 = Cercle((1,1),3);
+  C2 = Cercle((-1,-2),1);
+
+  P1 = IntersectionCercles(C1,C2);
+  P2 = IntersectionCercles(C2,C1);
+
+  drawoptions(withcolor LightSlateGrey);
+  trace C1;
+  trace C2;
+
+  drawoptions();
+  pointe Point(1,1);
+  pointe Point(-1,-2);
+  pointe P1;
+  pointe P2;
+  label.urt(TEX("\(P_1\)"),PtR(P1));
+  label.top(TEX("\(P_2\)"),PtR(P2));
+
+ Fin;
+
+
+endfig;
+
+end
\ No newline at end of file
diff --git a/exemples/cercles/cercles2-1.pdf b/exemples/cercles/cercles2-1.pdf
new file mode 100644 (file)
index 0000000..dbfe0b3
Binary files /dev/null and b/exemples/cercles/cercles2-1.pdf differ
diff --git a/exemples/cercles/cercles2-1.png b/exemples/cercles/cercles2-1.png
new file mode 100644 (file)
index 0000000..c32660d
Binary files /dev/null and b/exemples/cercles/cercles2-1.png differ
diff --git a/exemples/cercles/cercles2.mp b/exemples/cercles/cercles2.mp
new file mode 100644 (file)
index 0000000..a2ad132
--- /dev/null
@@ -0,0 +1,49 @@
+input gdd;
+input gdd-rep;
+input gdd-lbl;
+input gdd-tra;
+input svgnames;
+
+lblPreambule := "\usepackage[frenchb]{babel}"       &
+                "\usepackage[garamond]{mathdesign}" &
+                "\usepackage{amsmath}";
+
+labeloffset := 6;
+
+gddTaillePoint := 2;
+gddCouleurPoint := Yellow;
+
+
+
+beginfig(1);
+
+ Repere(9,9,4,5,0.8,0.8);
+ Axes; 
+ Debut;
+  Axes;
+  Graduations; Unites(1);
+
+  C1 = Cercle((1,1),3);
+  C2 = Cercle((-1,-2),1);
+
+  T1 = TangenteCommuneExterieure(C1,C2);
+  T2 = TangenteCommuneExterieure(C2,C1);
+
+  drawoptions(withcolor LightSlateGrey);
+  trace C1;
+  trace C2;
+
+  drawoptions(withcolor Olive);
+  trace T1;
+  trace T2;
+
+  drawoptions();
+  pointe Point(1,1);
+  pointe Point(-1,-2);
+
+ Fin;
+
+
+endfig;
+
+end
\ No newline at end of file
diff --git a/exemples/cercles/index.xml b/exemples/cercles/index.xml
new file mode 100644 (file)
index 0000000..dd7cfb2
--- /dev/null
@@ -0,0 +1,3 @@
+<simple>
+    <titre>mp-gdd &ndash; Cercles</titre>
+</simple>
diff --git a/exemples/cercles/vue.xml b/exemples/cercles/vue.xml
new file mode 100644 (file)
index 0000000..b08ca69
--- /dev/null
@@ -0,0 +1 @@
+<page></page>
\ No newline at end of file

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.