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

% Ex. No. 218 (Section 30.3.1 : use of\tkzcname{tkzSetUpCompass} with bisector)

  \begin{tikzpicture}[scale=0.75]
    \tkzDefPoints{0/1/A, 8/3/B, 3/6/C}
    \tkzDrawPolygon(A,B,C)
    \tkzSetUpCompass[color=red,line width=.2 pt]
    \tkzDefLine[bisector](A,C,B) \tkzGetPoint{c}
    \tkzDefLine[bisector](B,A,C) \tkzGetPoint{a}
    \tkzDefLine[bisector](C,B,A) \tkzGetPoint{b}
    \tkzShowLine[bisector,size=2,gap=3](A,C,B)
    \tkzShowLine[bisector,size=2,gap=3](B,A,C)
    \tkzShowLine[bisector,size=1,gap=2](C,B,A)
    \tkzDrawLines[add=0 and 0 ](B,b C,c)
    \tkzDrawLine[add=0 and -.4 ](A,a)
    \tkzLabelPoints(A,B) \tkzLabelPoints[above](C)
\end{tikzpicture}

\end{document}