diff options
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-elements/doc/latex/TKZdoc-elements-classes-triangle.tex')
-rw-r--r-- | macros/latex/contrib/tkz/tkz-elements/doc/latex/TKZdoc-elements-classes-triangle.tex | 81 |
1 files changed, 59 insertions, 22 deletions
diff --git a/macros/latex/contrib/tkz/tkz-elements/doc/latex/TKZdoc-elements-classes-triangle.tex b/macros/latex/contrib/tkz/tkz-elements/doc/latex/TKZdoc-elements-classes-triangle.tex index a65899c0ef..9261d6fbe7 100644 --- a/macros/latex/contrib/tkz/tkz-elements/doc/latex/TKZdoc-elements-classes-triangle.tex +++ b/macros/latex/contrib/tkz/tkz-elements/doc/latex/TKZdoc-elements-classes-triangle.tex @@ -40,6 +40,46 @@ The triangle object is created using the \Imeth{triangle}{new} method, for examp \end{tabular} \egroup +\subsection{Triangle attributes: angles} % (fold) +\label{sub:triangle_attributes_angles} + +\begin{minipage}{.6\textwidth} +\begin{verbatim} +\begin{tkzelements} + z.A = point: new(0,0) + z.B = point: new(5,0) + z.C = point: new(2,3) + T.ABC = triangle: new (z.A,z.B,z.C) +\end{tkzelements} +\def\wangle#1{\tkzDN[2]{% + \tkzUseLua{math.deg(T.ABC.#1)}}} +\begin{tikzpicture} +\tkzGetNodes + \tkzDrawPolygons(A,B,C) + \tkzLabelAngle(B,A,C){$\wangle{alpha}^\circ$} + \tkzLabelAngle(C,B,A){$\wangle{beta}^\circ$} + \tkzLabelAngle(A,C,B){$\wangle{gamma}^\circ$} +\end{tikzpicture} +\end{verbatim} +\end{minipage} +\begin{minipage}{.4\textwidth} +\begin{tkzelements} + z.A = point: new(0,0) + z.B = point: new(5,0) + z.C = point: new(2,3) + T.ABC = triangle: new (z.A,z.B,z.C) +\end{tkzelements} +\def\wangle#1{\tkzDN[2]{\tkzUseLua{math.deg(T.ABC.#1)}}} +\begin{tikzpicture} +\tkzGetNodes +\tkzDrawPolygons(A,B,C) +\tkzLabelAngle(B,A,C){$\wangle{alpha}^\circ$} +\tkzLabelAngle(C,B,A){$\wangle{beta}^\circ$} +\tkzLabelAngle(A,C,B){$\wangle{gamma}^\circ$} +\end{tikzpicture} +\end{minipage} +% subsection triangle_attributes_angles (end) + \subsubsection{Example: triangle attributes} % (fold) \label{ssub:example_triangle_attributes} \begin{minipage}{.5\textwidth} @@ -149,6 +189,20 @@ The triangle object is created using the \Imeth{triangle}{new} method, for examp \Imeth{triangle}{euler\_line () } & the line through $N$ ,$G$, $H$ and $O$ if the triangle is not equilateral \footnote{N center of nine points circle, G centroid, H orthocenter , O circum center } \\ \Imeth{triangle}{antiparallel(pt,n)} & n=0 antiparallel through pt to $(BC)$, n=1 to $(AC)$ etc.\\ +\midrule + \textbf{Circles} &\\ +\midrule +\Imeth{triangle}{euler\_circle ()} & C.|NP = T.ABC : euler_circle ()| \tkzar $N$ euler point + \footnote{ The midpoint of each side of the triangle, the foot of each altitude, the midpoint of the line segment from each vertex of the triangle to the orthocenter.} \\ +\Imeth{triangle}{circum\_circle ()} & |C.OA = T.ABC : circum ()| Triangle's circumscribed circle \\ +\Imeth{triangle}{in\_circle ()} & Inscribed circle of the triangle\\ +\Imeth{triangle}{ex\_circle (n)} & Circle tangent to the three sides of the triangle ; n =1 swap ; n=2 2 swap \\ +\Imeth{triangle}{first\_lemoine\_circle ()} & The center is the midpoint between Lemoine point and the circumcenter.\footnote{ +Through the Lemoine point draw lines parallel to the triangle's sides. The points where the parallel lines intersect the sides of ABC + then lie on a circle known as the first Lemoine circle. } \\ +\Imeth{triangle}{second\_lemoine\_circle ()} & see example \ref{sub:antiparallel_through_lemoine_point}\\ +\Imeth{triangle}{spieker\_circle ()} & The incircle of the medial triangle\\ + \bottomrule \end{tabular} \end{minipage} @@ -169,19 +223,6 @@ Remark: If you don't need to use the triangle object several times, you can obta \toprule \textbf{Methods} & \textbf{Comments} \\ \midrule - \textbf{Circles} &\\ -\midrule -\Imeth{triangle}{euler\_circle ()} & C.|NP = T.ABC : euler_circle ()| \tkzar $N$ euler point - \footnote{ The midpoint of each side of the triangle, the foot of each altitude, the midpoint of the line segment from each vertex of the triangle to the orthocenter.} \\ -\Imeth{triangle}{circum\_circle ()} & |C.OA = T.ABC : circum ()| Triangle's circumscribed circle \\ -\Imeth{triangle}{in\_circle ()} & Inscribed circle of the triangle\\ -\Imeth{triangle}{ex\_circle (n)} & Circle tangent to the three sides of the triangle ; n =1 swap ; n=2 2 swap \\ -\Imeth{triangle}{first\_lemoine\_circle ()} & The center is the midpoint between Lemoine point and the circumcenter.\footnote{ -Through the Lemoine point draw lines parallel to the triangle's sides. The points where the parallel lines intersect the sides of ABC - then lie on a circle known as the first Lemoine circle. } \\ -\Imeth{triangle}{second\_lemoine\_circle ()} & see example \ref{sub:antiparallel_through_lemoine_point}\\ -\Imeth{triangle}{spieker\_circle ()} & The incircle of the medial triangle\\ -\midrule \textbf{Triangles} &\\ \midrule \Imeth{triangle}{orthic ()} & |T = T.ABC : orthic ()| triangle joining the feet of the altitudes \\ @@ -234,7 +275,7 @@ Through the Lemoine point draw lines parallel to the triangle's sides. The point \tkzDrawCircle[red](N,I) \tkzDrawCircles[teal](O,A) \tkzDrawSegments(A,P B,Q C,R) - \tkzDrawSegments[red](A,I B,J C,K)\include{TKZdoc-elements-classes-triangle.tex} + \tkzDrawSegments[red](A,I B,J C,K) \tkzDrawPolygons(A,B,C) \tkzDrawPoints(A,B,C,N,I,J,K,O,P,Q,R,H,G) \tkzLabelPoints(A,B,C,I,J,K,P,Q,R,H) @@ -331,11 +372,9 @@ Through the Lemoine point draw lines parallel to the triangle's sides. The point \tkzDrawPoints(A,B,M,C,D,E,F) \tkzLabelPoints[below right](A,B,C,D,E) \tkzLabelPoints[above](M,F) - \tkzFillAngles[opacity=.4,cyan!20](A,M,B B,E,M) - \tkzFillAngles[opacity=.4,purple!20](B,M,F M,F,B) \tkzMarkRightAngle[opacity=.4,fill=gray!20](C,M,D) - \tkzMarkAngles[mark=||](A,M,E E,M,B B,E,M) - \tkzMarkAngles[mark=|](B,M,F M,F,B) + \tkzMarkAngles[mark=||,size=.5](A,M,E E,M,B B,E,M) + \tkzMarkAngles[mark=|,size=.5](B,M,F M,F,B) \tkzMarkSegments(B,E B,M B,F) \end{tikzpicture} \end{minipage} @@ -350,11 +389,9 @@ Through the Lemoine point draw lines parallel to the triangle's sides. The point \tkzDrawPoints(A,B,M,C,D,E,F) \tkzLabelPoints[below right](A,B,C,D,E) \tkzLabelPoints[above](M,F) - \tkzFillAngles[opacity=.4,cyan!20](A,M,B B,E,M) - \tkzFillAngles[opacity=.4,purple!20](B,M,F M,F,B) \tkzMarkRightAngle[opacity=.4,fill=gray!20](C,M,D) - \tkzMarkAngles[mark=||](A,M,E E,M,B B,E,M) - \tkzMarkAngles[mark=|](B,M,F M,F,B) + \tkzMarkAngles[mark=||,size=.5](A,M,E E,M,B B,E,M) + \tkzMarkAngles[mark=|,size=.5](B,M,F M,F,B) \tkzMarkSegments(B,E B,M B,F) \end{tikzpicture} \end{verbatim} |