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

% Ex. No. 29 (Section  6.1.4 : \IoptName{tkzDefTriangleCenter}{in})

\begin{tikzpicture}
  \tkzDefPoints{0/1/A,3/2/B,1/4/C}
  \tkzDefTriangleCenter[in](A,B,C)\tkzGetPoint{I}
  \tkzDefPointBy[projection=onto A--C](I)
  \tkzGetPoint{Ib}
  \tkzDrawPolygon[color=blue](A,B,C)
  \tkzDrawPoints(A,B,C,I)
  \tkzDrawLines[add = 0 and 2/3](A,I B,I C,I)
  \tkzDrawCircle(I,Ib)
\end{tikzpicture}

\end{document}