1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
\section{Rapporteurs}
D'après une idée de Yves Combe., la macro suivante permet de dessiner un rapporteur.
\begin{NewMacroBox}{tkzProtractor}{\oarg{local options}\parg{$O,A$}}
\medskip
\begin{tabular}{lll}
\toprule
options & défaut & définition \\
\midrule
\TOline{lw} {0.4 pt} { épaisseur des lignes}
\TOline{scale} {1} { ratio : permet d'ajuster la taille du rapporteur} \TOline{return} {false} { sens indirect du cercle trigonométrique}
\end{tabular}
\end{NewMacroBox}
\subsection{Le rapporteur circulaire}
Mesure dans le sens direct
\begin{tkzexample}[latex=7cm,small]
\begin{tikzpicture}[scale=.5]
\tkzDefPoint(2,0){A}\tkzDefPoint(0,0){O}
\tkzDefShiftPoint[A](31:5){B}
\tkzDefShiftPoint[A](158:5){C}
\tkzDrawPoints(A,B,C)
\tkzDrawSegments[color = red,
line width = 1pt](A,B A,C)
\tkzProtractor[scale = 1](A,B)
\end{tikzpicture}
\end{tkzexample}
\subsection{Le rapporteur circulaire, transparent et retourné}
\begin{tkzexample}[latex=7cm,small]
\begin{tikzpicture}[scale=.5]
\tkzDefPoint(2,3){A}
\tkzDefShiftPoint[A](31:5){B}
\tkzDefShiftPoint[A](158:5){C}
\tkzDrawSegments[color=red,line width=1pt](A,B A,C)
\tkzProtractor[return](A,C)
\end{tikzpicture}
\end{tkzexample}
\endinput
|