From: Jean-Michel Sarlat Date: Sun, 4 Sep 2011 21:45:48 +0000 (+0200) Subject: Quelques exemples de plus : cercles X-Git-Url: https://melusine.eu.org/syracuse/G/git/?a=commitdiff_plain;h=d828b07042fa6d88c760478929b558e01f1a8dec;p=mp-gdd.git Quelques exemples de plus : cercles --- diff --git a/exemples/cercles/LISTE.txt b/exemples/cercles/LISTE.txt new file mode 100644 index 0000000..dcd7edb --- /dev/null +++ b/exemples/cercles/LISTE.txt @@ -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 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 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 index 0000000..d14064f --- /dev/null +++ b/exemples/cercles/cercles1.mp @@ -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 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 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 index 0000000..a2ad132 --- /dev/null +++ b/exemples/cercles/cercles2.mp @@ -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 index 0000000..dd7cfb2 --- /dev/null +++ b/exemples/cercles/index.xml @@ -0,0 +1,3 @@ + + mp-gdd – Cercles + diff --git a/exemples/cercles/vue.xml b/exemples/cercles/vue.xml new file mode 100644 index 0000000..b08ca69 --- /dev/null +++ b/exemples/cercles/vue.xml @@ -0,0 +1 @@ + \ No newline at end of file