summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-20.2.6.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-20.2.6.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-20.2.6.tex19
1 files changed, 19 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-20.2.6.tex b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-20.2.6.tex
new file mode 100644
index 0000000000..e8516e5c2e
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-20.2.6.tex
@@ -0,0 +1,19 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 164 (Section 20.2.6 : Calculation of radius example 2)
+
+\begin{tikzpicture}
+ \tkzDefPoint(2,2){A}
+ \tkzDefPoint(5,4){B}
+ \tkzDefPoint(4,4){O}
+ \edef\tkzLen{\fpeval{0.0002/0.0001}}
+ \tkzDrawCircle[R](O,\tkzLen cm)
+ \tkzInterLC[R](A,B)(O, \tkzLen cm)
+ \tkzGetPoints{I}{J}
+ \tkzDrawPoints[color=blue](A,B)
+ \tkzDrawPoints[color=red](I,J)
+ \tkzDrawLine(I,J)
+\end{tikzpicture}
+
+\end{document} \ No newline at end of file