\section{Using the compass}    

\subsection{Main macro \tkzcname{tkzCompass}} 
\begin{NewMacroBox}{tkzCompass}{\oarg{local options}\parg{A,B}}%
This macro leaves a compass mark, i.e. an arc through a given point; the center must be given. Several specific options change the appearance of the arc, as well as \TIKZ\ options such as style, color, line width, etc.

You can set the length of the arc with the option |length| or the option |delta|.

\medskip
\begin{tabular}{lll}%
\toprule
options             & default & definition                        \\ 
\midrule
\TOline{delta} {0 (deg)}{Increases the angle of the arc symmetrically} 
\TOline{length}{1 (cm)}{Changes the length (in cm)}
\end{tabular}
\end{NewMacroBox} 

\subsubsection{Option \tkzname{length}} 
\begin{tkzexample}[latex=7cm,small]
\begin{tikzpicture}
  \tkzDefPoint(1,1){A}
  \tkzDefPoint(6,1){B}
  \tkzInterCC[R](A,4)(B,3)
  \tkzGetPoints{C}{D}
  \tkzDrawPoint(C)
  \tkzCompass[length=1.5](A,C)
  \tkzCompass(B,C)
  \tkzDrawSegments(A,B A,C B,C)
\end{tikzpicture}
\end{tkzexample}

\subsubsection{Option \tkzname{delta}} 
\tkzname{delta} is an angle in degrees: the mark goes from $-\delta$ to $+\delta$ around the point. Decimal values are accepted. With the default value $0$, the length of the mark is given by the option \tkzname{length}.

\begin{tkzexample}[latex=7cm,small]
\begin{tikzpicture} 
  \tkzDefPoint(0,0){A} 
  \tkzDefPoint(5,0){B}
  \tkzInterCC[R](A,4)(B,3)
  \tkzGetPoints{C}{D}
  \tkzDrawPoints(A,B,C) 
  \tkzCompass[delta=20](A,C)
  \tkzCompass[delta=20](B,C) 
  \tkzDrawPolygon(A,B,C)  
  \tkzMarkAngle(A,C,B)
\end{tikzpicture}
\end{tkzexample} 

\subsection{Multiple constructions \tkzcname{tkzCompasss}} 
\begin{NewMacroBox}{tkzCompasss}{\oarg{local options}\parg{pt1,pt2 pt3,pt4,\dots}}%
\tkzHandBomb\ Note that the arguments are lists of pairs of points. This saves a few lines of code.

\medskip
\begin{tabular}{lll}%
\toprule
options             & default & definition                        \\ 
\midrule
\TOline{delta} {0}{Modifies the angle of the arc by increasing it symmetrically} 
\TOline{length}{1}{Changes the length} 
\end{tabular}
\end{NewMacroBox} 

\subsubsection{Use of \tkzcname{tkzCompasss}} % (fold)
\label{ssub:use_tkzcname_tkzcompasss}

% subsubsection use_tkzcname_tkzcompasss (end)
\begin{tkzexample}[latex=7cm,small]
\begin{tikzpicture}[scale=.6]
 \tkzDefPoint(2,2){A}  \tkzDefPoint(5,-2){B}
 \tkzDefPoint(3,4){C}  \tkzDrawPoints(A,B) 
 \tkzDrawPoint[shape=cross out](C)    
 \tkzCompasss[new](A,B A,C B,C C,B) 
 \tkzShowLine[mediator,new,dashed,length = 2](A,B)
 \tkzShowLine[parallel = through C,
                     color=purple,length=2](A,B)
 \tkzDefLine[mediator](A,B)  
  \tkzGetPoints{i}{j}
 \tkzDefLine[parallel=through C](A,B) 
   \tkzGetPoint{D}
 \tkzDrawLines[add=.6 and .6](C,D A,C B,D)
 \tkzDrawLines(i,j) \tkzDrawPoints(A,B,C,i,j,D)  
 \tkzLabelPoints(A,B,C,i,j,D)
\end{tikzpicture}
\end{tkzexample} 

\endinput