diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-circles.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-circles.tex | 45 |
1 files changed, 33 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-circles.tex b/Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-circles.tex index 72219d5ef5e..2a336d91af6 100644 --- a/Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-circles.tex +++ b/Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-circles.tex @@ -1,3 +1,4 @@ +\newpage \section{Circles} Among the following macros, one will allow you to draw a circle, which is not a real feat. To do this, you will need to know the center of the circle and either the radius of the circle or a point on the circumference. It seemed to me that the most frequent use was to draw a circle with a given center passing through a given point. This will be the default method, otherwise you will have to use the \tkzname{R} option. There are a large number of special circles, for example the circle circumscribed by a triangle. @@ -51,21 +52,41 @@ options & default & definition \\ \medskip \emph{In the following examples, I draw the circles with a macro not yet presented. You may only need the center and a point on the circle. } -\end{NewMacroBox} +\end{NewMacroBox} + +\subsubsection{Example with option \tkzname{R}} +We obtain with the macro \tkzcname{tkzGetPoint} a point of the circle which is the East pole. - \subsubsection{Example with option \tkzname{diameter}} - It is simpler here to search directly for the middle of $[AB]$. The result is the center and if necessary \begin{tkzexample}[latex=7cm,small] \begin{tikzpicture}[scale=1] - \tkzDefPoint(0,0){A} - \tkzDefPoint(2,2){B} - \tkzDefCircle[diameter](A,B) - \tkzGetPoint{O} - \tkzDrawCircle(O,B) - \tkzDrawSegment(A,B) - \tkzDrawPoints(A,B,O) - \tkzLabelPoints[below](A,B,O) + \tkzDefPoint(3,3){C} + \tkzDefPoint(5,5){A} + \tkzCalcLength(A,C) \tkzGetLength{rAC} + \tkzDefCircle[R](C,\rAC) \tkzGetPoint{B} + \tkzDrawCircle(C,B) + \tkzDrawSegment(C,A) + \tkzLabelSegment[above left](C,A){$2\sqrt{2}$} + \tkzDrawPoints(A,B,C) + \tkzLabelPoints(A,C,B) \end{tikzpicture} +\end{tkzexample} + + + \subsubsection{Example with option \tkzname{diameter}} + It is simpler here to search directly for the middle of $[AB]$. The result is the center and if necessary +\begin{tkzexample}[latex=7cm,small] +\begin{tikzpicture} + \tkzDefPoint(0,0){O} + \tkzDefPoint(2,2){B} + \tkzDefCircle[diameter](O,B) \tkzGetPoint{A} + \tkzDrawCircle(A,B) + \tkzDrawPoints(O,A,B) + \tkzDrawSegment(O,B) + \tkzLabelPoints(O,A,B) + \tkzLabelSegment[above left](O,A){$\sqrt{2}$} + \tkzLabelSegment[above left](A,B){$\sqrt{2}$} + \tkzMarkSegments[mark=s||](O,A A,B) +\end{tikzpicture} \end{tkzexample} \subsubsection{Circles inscribed and circumscribed for a given triangle} @@ -245,7 +266,7 @@ arguments & default & definition \\ Jc,Xc Jc,Yc Jc,Zc I,Ia I,Ib I,Ic) \tkzMarkRightAngles[size=.2,fill=gray!15](Ja,Za,B Ja,Xa,B Ja,Ya,C Jb,Yb,C) -\tkzMarkRightAngles[size=.2,fill=gray!15](Jb,Zb,B Jb,Xb,C Jc,Yc,A Jc,Zc,B) Jc,Xc,C I,Ia,B I,Ib,C I,Ic,A) +\tkzMarkRightAngles[size=.2,fill=gray!15](Jb,Zb,B Jb,Xb,C Jc,Yc,A Jc,Zc,B Jc,Xc,C I,Ia,B I,Ib,C I,Ic,A) \tkzDrawSegments[blue](Jc,C Ja,A Jb,B) \tkzDrawPoints(A,B,C,Xa,Xb,Xc,Ja,Jb,Jc,Ia,Ib,Ic,Ya,Yb,Yc,Za,Zb,Zc) \tkzLabelPoints(A,Ya,Yb,Ja,I) |