summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-26.2.0.tex
blob: 1083b097b3e1ea3065e728b3cbc5d3785a92ca63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 216 (Section 26.2 : Multiple constructions \tkzcname{tkzCompasss})

\begin{tikzpicture}[scale=.75]
 \tkzDefPoint(2,2){A}  \tkzDefPoint(5,-2){B}
 \tkzDefPoint(3,4){C}  \tkzDrawPoints(A,B)
 \tkzDrawPoint[color=red,shape=cross out](C)
 \tkzCompasss[color=orange](A,B A,C B,C C,B)
 \tkzShowLine[mediator,color=red,
                             dashed,length = 2](A,B)
 \tkzShowLine[parallel = through C,
                            color=blue,length=2](A,B)
 \tkzDefLine[mediator](A,B)  \tkzGetPoints{i}{j}
 \tkzDefLine[parallel=through C](A,B) \tkzGetPoint{D}
 \tkzDrawLines[add=.6 and .6](C,D A,C B,D)
 \tkzDrawLines(i,j) \tkzDrawPoints(A,B,C,i,j,D)
 \tkzLabelPoints(A,B,C,i,j,D)
\end{tikzpicture}

\end{document}