\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 102 (Section 17.0.5 : Option :   "extouch")

\begin{tikzpicture}[scale=.7]
\tkzDefPoints{0/0/A,6/0/B,0.8/4/C}
\tkzDefSpcTriangle[excentral,
                 name=J](A,B,C){a,b,c}
\tkzDefSpcTriangle[extouch,
                  name=T](A,B,C){a,b,c}
\tkzDefTriangleCenter[nagel](A,B,C)
\tkzGetPoint{Na}
\tkzDefTriangleCenter[centroid](A,B,C)
\tkzGetPoint{G}
\tkzDrawPoints[blue](Ja,Jb,Jc)
\tkzClipBB \tkzShowBB
\tkzDrawCircles[gray](Ja,Ta Jb,Tb Jc,Tc)
\tkzDrawLines[add=1 and 1](A,B B,C C,A)
\tkzDrawSegments[gray](A,Ta B,Tb C,Tc)
\tkzDrawSegments[gray](Ja,Ta Jb,Tb Jc,Tc)
\tkzDrawPolygon[blue](A,B,C)
\tkzDrawPolygon[red](Ta,Tb,Tc)
\tkzDrawPoints(A,B,C,Na)
\tkzLabelPoints(Na)
\tkzAutoLabelPoints[center=Na,blue](A,B,C)
\tkzAutoLabelPoints[center=G,red,
                         dist=.4](Ta,Tb,Tc)
\tkzMarkRightAngles[fill=gray!15](Ja,Ta,B
 Jb,Tb,C Jc,Tc,A)
\end{tikzpicture}

\end{document}
