blob: bdaac686b0a0f10cdd11391f5c3c71633450c272 (
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. 129 (Section 19.2.2 : Example of tangents passing through an external point )
\begin{tikzpicture}[scale=0.75]
\tkzDefPoint(3,3){c}
\tkzDefPoint(6,3){a0}
\tkzRadius=1 cm
\tkzDrawCircle[R](c,\tkzRadius)
\foreach \an in {0,10,...,350}{
\tkzDefPointBy[rotation=center c angle \an](a0)
\tkzGetPoint{a}
\tkzDefTangent[from with R = a](c,\tkzRadius)
\tkzGetPoints{e}{f}
\tkzDrawLines[color=magenta](a,f a,e)
\tkzDrawSegments(c,e c,f)
}%
\end{tikzpicture}
\end{document}
|