summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-9.2.1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-9.2.1.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-9.2.1.tex22
1 files changed, 22 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-9.2.1.tex b/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-9.2.1.tex
new file mode 100644
index 00000000000..7d9517c8032
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-9.2.1.tex
@@ -0,0 +1,22 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 51 (Section 9.2.1 : Example of reflection (orthogonal symmetry))
+
+\begin{tikzpicture}[scale=1]
+ \tkzDefPoints{1.5/-1.5/C,-4.5/2/D}
+ \tkzDefPoint(-4,-2){O}
+ \tkzDefPoint(-2,-2){A}
+ \foreach \i in {0,1,...,4}{%
+ \pgfmathparse{0+\i * 72}
+ \tkzDefPointBy[rotation=%
+ center O angle \pgfmathresult](A)
+ \tkzGetPoint{A\i}
+ \tkzDefPointBy[reflection = over C--D](A\i)
+ \tkzGetPoint{A\i'}}
+ \tkzDrawPolygon(A0, A2, A4, A1, A3)
+ \tkzDrawPolygon(A0', A2', A4', A1', A3')
+ \tkzDrawLine[add= .5 and .5](C,D)
+\end{tikzpicture}
+
+\end{document} \ No newline at end of file