summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-17-0-2.tex
blob: 7d41f95ce81b29a286b862a2107c81c8c4926d4f (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. 99 (Section 17.0.2 : Option : "in" ou "incentral")

\begin{tikzpicture}[scale=1]
  \tkzDefPoints{ 0/0/A,5/0/B,1/3/C}
  \tkzDefSpcTriangle[in,name=I](A,B,C){a,b,c}
  \tkzInCenter(A,B,C)\tkzGetPoint{I}
  \tkzDrawPolygon[red](A,B,C)
  \tkzDrawPolygon[blue](Ia,Ib,Ic)
  \tkzDrawPoints(A,B,C,I,Ia,Ib,Ic)
  \tkzDrawCircle[in](A,B,C)
  \tkzDrawSegments[dashed](A,Ia B,Ib C,Ic)
 \tkzAutoLabelPoints[center=I,blue,font=\scriptsize]%
(Ia,Ib,Ic)
 \tkzAutoLabelPoints[center=I,red,font=\scriptsize]%
(A,B,C)
(A,B,C,Ia,Ib,Ic)
\end{tikzpicture}

\end{document}