summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzeuclide-14-5-1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzeuclide-14-5-1.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzeuclide-14-5-1.tex23
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzeuclide-14-5-1.tex b/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzeuclide-14-5-1.tex
new file mode 100644
index 00000000000..35e28352ebd
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzeuclide-14-5-1.tex
@@ -0,0 +1,23 @@
+\begin{tikzpicture}[scale=1]
+ \tkzDefPoints{0/0/A,3/0/B}
+ \def\coeffK{2}
+ \tkzApolloniusCenter[K=\coeffK](A,B)
+ \tkzGetPoint{P}
+ \tkzDefApolloniusPoint[K=\coeffK](A,B)
+ \tkzGetPoint{M}
+ \tkzDefApolloniusRadius[K=\coeffK](A,B)
+ \tkzDrawCircle[R,color = blue!50!black,
+ fill=blue!20,
+ opacity=.4](tkzPointResult,\tkzLengthResult pt)
+ \tkzDefRandPointOn[circle through= center P through M]
+ \tkzGetPoint{N}
+ \tkzDrawPoints(A,B,P,M,N)
+ \tkzLabelPoints(A,B,P,M,N)
+ \tkzDrawSegments[red](N,A N,B)
+ \tkzDrawPoints(A,B)
+ \tkzDrawSegments[red](A,B)
+ \tkzLabelCircle[R,draw,fill=green!10,%
+ text width=3cm,%
+ text centered](P,\tkzLengthResult pt-20pt)(-120)%
+ { $MA/MB=\coeffK$\\$NA/NB=\coeffK$}
+\end{tikzpicture}