summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-base/examples/tkzBase-11-10-1.tex
blob: 0033453009fd45d8dbb97542f8ea6aaecbd484be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 92 (Section 11.10.1 : Exemple)

\begin{tikzpicture}[scale=.5]
   \tkzDefPoint(0,0){A}
   \tkzDefPoint(3,-4){B}
   \tkzDefCircle[through](A,B)
   \tkzGetLength{rABpt}
   \tkzpttocm(\rABpt){rABcm}
   \tkzDrawCircle(A,B)
   \tkzDrawPoints(A,B)
   \tkzLabelPoints(A,B)
   \tkzDrawSegment[dashed](A,B)
   \tkzLabelSegment(A,B){%
       $\pgfmathprintnumber{\rABcm}$}
\end{tikzpicture}

\end{document}