summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11.4.1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11.4.1.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11.4.1.tex27
1 files changed, 27 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11.4.1.tex b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11.4.1.tex
new file mode 100644
index 0000000000..5b3c78e4c5
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11.4.1.tex
@@ -0,0 +1,27 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 75 (Section 11.4.1 : Example of random points)
+
+\begin{tikzpicture}
+ \tkzDefPoints{0/0/A,2/2/B,-1/-1/C}
+ \tkzDefCircle[through=](A,C)
+ \tkzGetLength{rAC}
+ \tkzDrawCircle(A,C)
+ \tkzDrawCircle(A,B)
+ \tkzDefRandPointOn[rectangle=A and B]
+ \tkzGetPoint{a}
+ \tkzDefRandPointOn[segment=A--B]
+ \tkzGetPoint{b}
+ \tkzDefRandPointOn[circle=center A radius \rAC pt]
+ \tkzGetPoint{d}
+ \tkzDefRandPointOn[circle through= center A through B]
+ \tkzGetPoint{c}
+ \tkzDefRandPointOn[disk through=center A through B]
+ \tkzGetPoint{e}
+ \tkzLabelPoints[above right=3pt](A,B,C,a,b,...,e)
+ \tkzDrawPoints[](A,B,C,a,b,...,e)
+ \tkzDrawRectangle(A,B)
+\end{tikzpicture}
+
+\end{document} \ No newline at end of file