| 1 |
\section{Triangles} |
| 2 |
|
| 3 |
\subsection{Definition of triangles \tkzcname{tkzDefTriangle}} |
| 4 |
The following macros will allow you to define or construct a triangle from \tkzname{at least} two points. |
| 5 |
|
| 6 |
At the moment, it is possible to define the following triangles: |
| 7 |
\begin{itemize} |
| 8 |
\item \tkzname{two angles} determines a triangle with two angles; |
| 9 |
\item \tkzname{equilateral} determines an equilateral triangle; |
| 10 |
\item \tkzname{isosceles right} determines an isoxsceles right triangle; |
| 11 |
\item \tkzname{half} determines a right-angled triangle such that the ratio of the measurements of the two adjacent sides to the right angle is equal to $2$; |
| 12 |
\item \tkzname{pythagore} determines a right-angled triangle whose side measurements are proportional to 3, 4 and 5; |
| 13 |
\item \tkzname{school} determines a right-angled triangle whose angles are 30, 60 and 90 degrees; |
| 14 |
\item \tkzname{golden} determines a right-angled triangle such that the ratio of the measurements on the two adjacent sides to the right angle is equal to $\Phi=1.618034$, I chose "golden triangle" as the denomination because it comes from the golden rectangle and I kept the denomination "gold triangle" or "Euclid's triangle" for the isosceles triangle whose angles at the base are 72 degrees; |
| 15 |
|
| 16 |
\item \tkzname{euclid} or \tkzname{gold} for the gold triangle; in the previous version the option was "euclide" with an "e". |
| 17 |
|
| 18 |
\item \tkzname{cheops} determines a third point such that the triangle is isosceles with side measurements proportional to $2$, $\Phi$ and $\Phi$. |
| 19 |
\end{itemize} |
| 20 |
|
| 21 |
\newpage |
| 22 |
\begin{NewMacroBox}{tkzDefTriangle}{\oarg{local options}\parg{A,B}}% |
| 23 |
The points are ordered because the triangle is constructed following the direct direction of the trigonometric circle. This macro is either used in partnership with \tkzcname{tkzGetPoint} or by using \tkzname{tkzPointResult} if it is not necessary to keep the name. |
| 24 |
|
| 25 |
\medskip |
| 26 |
\begin{tabular}{lll}% |
| 27 |
\toprule |
| 28 |
options & default & definition \\ |
| 29 |
\midrule |
| 30 |
\TOline{two angles= \#1 and \#2}{no defaut}{triangle knowing two angles} |
| 31 |
\TOline{equilateral} {equilateral}{equilateral triangle } |
| 32 |
\TOline{half} {equilateral}{B rectangle $AB=2BC$ $AC$ hypothenuse } |
| 33 |
\TOline{isosceles right} {equilateral}{isosceles right triangle } |
| 34 |
\TOline{pythagore}{equilateral}{proportional to the pythagorean triangle 3-4-5} |
| 35 |
\TOline{pythagoras}{equilateral}{same as above} |
| 36 |
\TOline{egyptian}{equilateral}{same as above} |
| 37 |
\TOline{school} {equilateral}{angles of 30, 60 and 90 degrees } |
| 38 |
\TOline{gold}{equilateral}{B rectangle and $AB/AC = \Phi$} |
| 39 |
\TOline{euclid} {equilateral}{angles of 72, 72 and 36 degrees, $A$ is the apex} |
| 40 |
\TOline{golden} {equilateral}{angles of 72, 72 and 36 degrees, $C$ is the apex} |
| 41 |
\TOline{sublime} {equilateral}{angles of 72, 72 and 36 degrees, $C$ is the apex} |
| 42 |
\TOline{cheops} {equilateral}{AC=BC, AC and BC are proportional to $2$ and $\Phi$.} |
| 43 |
\TOline{swap} {false}{gives the symmetric point with respect to $AB$} |
| 44 |
\bottomrule |
| 45 |
\end{tabular} |
| 46 |
|
| 47 |
\medskip |
| 48 |
\emph{\tkzcname{tkzGetPoint} allows you to store the point otherwise \tkzname{tkzPointResult} allows for immediate use.} |
| 49 |
\end{NewMacroBox} |
| 50 |
|
| 51 |
\subsubsection{Option \tkzname{equilateral}} |
| 52 |
\begin{tkzexample}[latex=7 cm,small] |
| 53 |
\begin{tikzpicture} |
| 54 |
\tkzDefPoint(0,0){A} |
| 55 |
\tkzDefPoint(4,0){B} |
| 56 |
\tkzDefTriangle[equilateral](A,B) |
| 57 |
\tkzGetPoint{C} |
| 58 |
\tkzDrawPolygons(A,B,C) |
| 59 |
\tkzDefTriangle[equilateral](B,A) |
| 60 |
\tkzGetPoint{D} |
| 61 |
\tkzDrawPolygon(B,A,D) |
| 62 |
\tkzMarkSegments[mark=s|](A,B B,C A,C A,D B,D) |
| 63 |
\end{tikzpicture} |
| 64 |
\end{tkzexample} |
| 65 |
|
| 66 |
|
| 67 |
\subsubsection{Option \tkzname{two angles}} |
| 68 |
\begin{tkzexample}[latex=6 cm,small] |
| 69 |
\begin{tikzpicture} |
| 70 |
\tkzDefPoint(0,0){A} |
| 71 |
\tkzDefPoint(5,0){B} |
| 72 |
\tkzDefTriangle[two angles = 50 and 70](A,B) |
| 73 |
\tkzGetPoint{C} |
| 74 |
\tkzDrawSegment(A,B) |
| 75 |
\tkzDrawPoints(A,B) |
| 76 |
\tkzLabelPoints(A,B) |
| 77 |
\tkzDrawSegments[new](A,C B,C) |
| 78 |
\tkzDrawPoints[new](C) |
| 79 |
\tkzLabelPoints[above,new](C) |
| 80 |
\tkzLabelAngle[pos=1.4](B,A,C){$50^\circ$} |
| 81 |
\tkzLabelAngle[pos=0.8](C,B,A){$70^\circ$} |
| 82 |
\end{tikzpicture} |
| 83 |
\end{tkzexample} |
| 84 |
|
| 85 |
\subsubsection{Option \tkzname{school}} |
| 86 |
The angles are 30, 60 and 90 degrees. |
| 87 |
|
| 88 |
\begin{tkzexample}[latex=6 cm,small] |
| 89 |
\begin{tikzpicture} |
| 90 |
\tkzDefPoints{0/0/A,4/0/B} |
| 91 |
\tkzDefTriangle[school](A,B) |
| 92 |
\tkzGetPoint{C} |
| 93 |
\tkzMarkRightAngles(C,B,A) |
| 94 |
\tkzLabelAngle[pos=0.8](B,A,C){$30^\circ$} |
| 95 |
\tkzLabelAngle[pos=0.8](C,B,A){$90^\circ$} |
| 96 |
\tkzLabelAngle[pos=0.8](A,C,B){$60^\circ$} |
| 97 |
\tkzDrawSegments(A,B) |
| 98 |
\tkzDrawSegments[new](A,C B,C) |
| 99 |
\tkzLabelPoints(A,B) |
| 100 |
\tkzLabelPoints[above](C) |
| 101 |
\end{tikzpicture} |
| 102 |
\end{tkzexample} |
| 103 |
|
| 104 |
\subsubsection{Option \tkzname{pythagore}} |
| 105 |
This triangle has sides whose lengths are proportional to 3, 4 and 5. |
| 106 |
|
| 107 |
\begin{tkzexample}[latex=6 cm,small] |
| 108 |
\begin{tikzpicture} |
| 109 |
\tkzDefPoints{0/0/A,4/0/B} |
| 110 |
\tkzDefTriangle[pythagore](A,B) |
| 111 |
\tkzGetPoint{C} |
| 112 |
\tkzDrawSegments(A,B) |
| 113 |
\tkzDrawSegments[new](A,C B,C) |
| 114 |
\tkzMarkRightAngles(A,B,C) |
| 115 |
\tkzDrawPoints[new](C) |
| 116 |
\tkzDrawPoints(A,B) |
| 117 |
\tkzLabelPoints[above](A,B) |
| 118 |
\tkzLabelPoints[new](C) |
| 119 |
\end{tikzpicture} |
| 120 |
\end{tkzexample} |
| 121 |
|
| 122 |
\subsubsection{Option \tkzname{pythagore} and \tkzname{swap}} |
| 123 |
This triangle has sides whose lengths are proportional to 3, 4 and 5. |
| 124 |
|
| 125 |
\begin{tkzexample}[latex=6 cm,small] |
| 126 |
\begin{tikzpicture} |
| 127 |
\tkzDefPoints{0/0/A,4/0/B} |
| 128 |
\tkzDefTriangle[pythagore,swap](A,B) |
| 129 |
\tkzGetPoint{C} |
| 130 |
\tkzDrawSegments(A,B) |
| 131 |
\tkzDrawSegments[new](A,C B,C) |
| 132 |
\tkzMarkRightAngles(A,B,C) |
| 133 |
\tkzLabelPoint[above,new](C){$C$} |
| 134 |
\tkzDrawPoints[new](C) |
| 135 |
\tkzDrawPoints(A,B) |
| 136 |
\tkzLabelPoints(A,B) |
| 137 |
\end{tikzpicture} |
| 138 |
\end{tkzexample} |
| 139 |
|
| 140 |
\subsubsection{Option \tkzname{golden}} |
| 141 |
\begin{tkzexample}[latex=6 cm,small] |
| 142 |
\begin{tikzpicture}[scale=.8] |
| 143 |
\tkzDefPoint(0,0){A} \tkzDefPoint(4,0){B} |
| 144 |
\tkzDefTriangle[golden](A,B)\tkzGetPoint{C} |
| 145 |
\tkzDefSpcTriangle[in,name=M](A,B,C){a,b,c} |
| 146 |
\tkzDrawPolygon(A,B,C) |
| 147 |
\tkzDrawPoints(A,B) |
| 148 |
\tkzDrawSegment(C,Mc) |
| 149 |
\tkzDrawPoints[new](C) |
| 150 |
\tkzLabelPoints(A,B) |
| 151 |
\tkzLabelPoints[above,new](C) |
| 152 |
\end{tikzpicture} |
| 153 |
\end{tkzexample} |
| 154 |
|
| 155 |
\subsubsection{Option \tkzname{euclid}} |
| 156 |
\tkzimp{Euclid} and \tkzimp{golden} are identical but the segment AB is a base in one and a side in the other. |
| 157 |
|
| 158 |
\begin{tkzexample}[latex=7 cm,small] |
| 159 |
\begin{tikzpicture}[scale=.75] |
| 160 |
\tkzDefPoint(0,0){A} \tkzDefPoint(4,0){B} |
| 161 |
\tkzDefTriangle[euclid](A,B)\tkzGetPoint{C} |
| 162 |
\tkzDrawPolygon(A,B,C) |
| 163 |
\tkzDrawPoints(A,B,C) |
| 164 |
\tkzLabelPoints(C) |
| 165 |
\tkzLabelPoints[above](A,B) |
| 166 |
\tkzLabelAngle[pos=0.8](A,B,C){$72^\circ$} |
| 167 |
\tkzLabelAngle[pos=0.8](B,C,A){$72^\circ$} |
| 168 |
\tkzLabelAngle[pos=0.8](C,A,B){$36^\circ$} |
| 169 |
\end{tikzpicture} |
| 170 |
\end{tkzexample} |
| 171 |
|
| 172 |
\subsubsection{Option \tkzname{isosceles right}} |
| 173 |
\begin{tkzexample}[latex=7 cm,small] |
| 174 |
\begin{tikzpicture} |
| 175 |
\tkzDefPoint(0,0){A} |
| 176 |
\tkzDefPoint(4,0){B} |
| 177 |
\tkzDefTriangle[isosceles right](A,B) |
| 178 |
\tkzGetPoint{C} |
| 179 |
\tkzDrawPolygons(A,B,C) |
| 180 |
\tkzDrawPoints(A,B,C) |
| 181 |
\tkzMarkRightAngles(A,C,B) |
| 182 |
\tkzLabelPoints(A,B) |
| 183 |
\tkzLabelPoints[above](C) |
| 184 |
\end{tikzpicture} |
| 185 |
\end{tkzexample} |
| 186 |
|
| 187 |
\subsubsection{Option \tkzname{gold} } |
| 188 |
\begin{tkzexample}[latex=6 cm,small] |
| 189 |
\begin{tikzpicture} |
| 190 |
\tkzDefPoints{0/0/A,4/0/B} |
| 191 |
\tkzDefTriangle[gold](A,B) |
| 192 |
\tkzGetPoint{C} |
| 193 |
\tkzDrawPolygon(A,B,C) |
| 194 |
\tkzDrawPoints(A,B,C) |
| 195 |
\tkzLabelPoints[above](A,B) |
| 196 |
\tkzLabelPoints[below](C) |
| 197 |
\tkzMarkRightAngle(A,B,C) |
| 198 |
\tkzText(0,-2){$\dfrac{AC}{AB}=\varphi$} |
| 199 |
\end{tikzpicture} |
| 200 |
\end{tkzexample} |
| 201 |
|
| 202 |
\clearpage |
| 203 |
\subsection{Specific triangles with \tkzcname{tkzDefSpcTriangle}} |
| 204 |
|
| 205 |
The centers of some triangles have been defined in the "points" section, here it is a question of determining the three vertices of specific triangles. |
| 206 |
|
| 207 |
\begin{NewMacroBox}{tkzDefSpcTriangle}{\oarg{local options}\parg{p1,p2,p3}\marg{r1,r2,r3}} |
| 208 |
The order of the points is important! p1p2p3 defines a triangle then the result is a triangle whose vertices have as reference a combination with \tkzname{name} and r1,r2, r3. If \tkzname{name} is empty then the references are r1,r2 and r3. |
| 209 |
|
| 210 |
\medskip |
| 211 |
\begin{tabular}{lll}% |
| 212 |
\toprule |
| 213 |
options & default & definition \\ |
| 214 |
\midrule |
| 215 |
\TOline{orthic} {centroid}{determined by endpoints of the altitudes ...} |
| 216 |
\TOline{centroid or medial}{centroid}{intersection of the triangle's three triangle medians} |
| 217 |
\TOline{in or incentral}{centroid}{determined with the angle bisectors} |
| 218 |
\TOline{ex or excentral} {centroid}{determined with the excenters} |
| 219 |
\TOline{extouch}{centroid}{formed by the points of tangency with the excircles} |
| 220 |
\TOline{intouch or contact} {centroid}{formed by the points of tangency of the incircle} |
| 221 |
\TOline{} {}{each of the vertices} |
| 222 |
\TOline{euler} {centroid}{formed by Euler points on the nine-point circle} |
| 223 |
\TOline{symmedial} {centroid}{intersection points of the symmedians} |
| 224 |
\TOline{tangential}{centroid}{formed by the lines tangent to the circumcircle} |
| 225 |
\TOline{feuerbach} {centroid}{formed by the points of tangency of the nine-point ...} |
| 226 |
\TOline{} {} {circle with the excircles} |
| 227 |
\TOline{name} {empty}{used to name the vertices} |
| 228 |
\midrule |
| 229 |
\end{tabular} |
| 230 |
\end{NewMacroBox} |
| 231 |
|
| 232 |
\subsubsection{How to name the vertices} |
| 233 |
|
| 234 |
With \tkzcname{tkzDefSpcTriangle[medial,name=M](A,B,C)\{\_A,\_B,\_C\}} you get three vertices named $M_A$, $M_B$ and $M_C$. |
| 235 |
|
| 236 |
With \tkzcname{tkzDefSpcTriangle[medial](A,B,C)\{a,b,c\}} you get three vertices named and labeled $a$, $b$ and $c$. |
| 237 |
|
| 238 |
Possible \tkzcname{tkzDefSpcTriangle[medial,name=M\_](A,B,C)\{A,B,C\}} you get three vertices named $M_A$, $M_B$ and $M_C$. |
| 239 |
|
| 240 |
\subsection{Option \tkzname{medial} or \tkzname{centroid} } |
| 241 |
The geometric centroid of the polygon vertices of a triangle is the point $G$ (sometimes also denoted $M$) which is also the intersection of the triangle's three triangle medians. The point is therefore sometimes called the median point. The centroid is always in the interior of the triangle. |
| 242 |
\\ |
| 243 |
|
| 244 |
\href{http://mathworld.wolfram.com/TriangleCentroid.html}{Weisstein, Eric W. "Centroid triangle" From MathWorld--A Wolfram Web Resource.} |
| 245 |
|
| 246 |
In the following example, we obtain the Euler circle which passes through the previously defined points. |
| 247 |
|
| 248 |
\begin{tkzexample}[latex=7cm,small] |
| 249 |
\begin{tikzpicture}[rotate=90,scale=.75] |
| 250 |
\tkzDefPoints{0/0/A,6/0/B,0.8/4/C} |
| 251 |
\tkzDefTriangleCenter[centroid](A,B,C) |
| 252 |
\tkzGetPoint{M} |
| 253 |
\tkzDefSpcTriangle[medial,name=M](A,B,C){_A,_B,_C} |
| 254 |
\tkzDrawPolygon(A,B,C) |
| 255 |
\tkzDrawSegments[dashed,new](A,M_A B,M_B C,M_C) |
| 256 |
\tkzDrawPolygon[new](M_A,M_B,M_C) |
| 257 |
\tkzDrawPoints(A,B,C) |
| 258 |
\tkzDrawPoints[new](M,M_A,M_B,M_C) |
| 259 |
\tkzLabelPoints[above](B) |
| 260 |
\tkzLabelPoints[below](A,C,M_B) |
| 261 |
\tkzLabelPoints[right](M_C) |
| 262 |
\tkzLabelPoints[left](M_A) |
| 263 |
\tkzLabelPoints[font=\scriptsize](M) |
| 264 |
\end{tikzpicture} |
| 265 |
\end{tkzexample} |
| 266 |
|
| 267 |
\subsubsection{Option \tkzname{in} or \tkzname{incentral} } |
| 268 |
|
| 269 |
The incentral triangle is the triangle whose vertices are determined by |
| 270 |
the intersections of the reference triangle’s angle bisectors with the |
| 271 |
respective opposite sides. |
| 272 |
\\ |
| 273 |
\href{http://mathworld.wolfram.com/ContactTriangle.html}{Weisstein, Eric W. "Incentral triangle" From MathWorld--A Wolfram Web Resource.} |
| 274 |
|
| 275 |
|
| 276 |
\begin{tkzexample}[latex=7cm,small] |
| 277 |
\begin{tikzpicture}[scale=1] |
| 278 |
\tkzDefPoints{ 0/0/A,5/0/B,2/3/C} |
| 279 |
\tkzDefSpcTriangle[in,name=I](A,B,C){_a,_b,_c} |
| 280 |
\tkzDefCircle[in](A,B,C) \tkzGetPoints{I}{a} |
| 281 |
\tkzDrawCircle(I,a) |
| 282 |
\tkzDrawPolygon(A,B,C) |
| 283 |
\tkzDrawPolygon[new](I_a,I_b,I_c) |
| 284 |
\tkzDrawSegments[dashed,new](A,I_a B,I_b C,I_c) |
| 285 |
\tkzDrawPoints(A,B,C,I,I_a,I_b,I_c) |
| 286 |
\tkzLabelPoints[below](A,B,I_c) |
| 287 |
\tkzLabelPoints[above left](I_b) |
| 288 |
\tkzLabelPoints[above right](C,I_a) |
| 289 |
\end{tikzpicture} |
| 290 |
\end{tkzexample} |
| 291 |
|
| 292 |
\subsubsection{Option \tkzname{ex} or \tkzname{excentral} } |
| 293 |
|
| 294 |
The excentral triangle of a triangle $ABC$ is the triangle $J_aJ_bJ_c$ with vertices corresponding to the excenters of $ABC$. |
| 295 |
|
| 296 |
\begin{tkzexample}[latex=7cm,small] |
| 297 |
\begin{tikzpicture}[scale=.6] |
| 298 |
\tkzDefPoints{0/0/A,6/0/B,0.8/4/C} |
| 299 |
\tkzDefSpcTriangle[excentral,name=J](A,B,C){_a,_b,_c} |
| 300 |
\tkzDefSpcTriangle[extouch,name=T](A,B,C){_a,_b,_c} |
| 301 |
\tkzDrawPolygon(A,B,C) |
| 302 |
\tkzDrawPolygon[new](J_a,J_b,J_c) |
| 303 |
\tkzClipBB |
| 304 |
\tkzDrawPoints(A,B,C) |
| 305 |
\tkzDrawPoints[new](J_a,J_b,J_c) |
| 306 |
\tkzLabelPoints(A,B,C) |
| 307 |
\tkzLabelPoints[new](J_b,J_c) |
| 308 |
\tkzLabelPoints[new,above](J_a) |
| 309 |
\tkzDrawCircles[gray](J_a,T_a J_b,T_b J_c,T_c) |
| 310 |
\end{tikzpicture} |
| 311 |
\end{tkzexample} |
| 312 |
|
| 313 |
|
| 314 |
\subsubsection{Option \tkzname{intouch} or \tkzname{contact}} |
| 315 |
The contact triangle of a triangle $ABC$, also called the intouch triangle, is the triangle formed by the points of tangency of the incircle of $ABC$ with $ABC$.\\ |
| 316 |
\href{http://mathworld.wolfram.com/ContactTriangle.html}{Weisstein, Eric W. "Contact triangle" From MathWorld--A Wolfram Web Resource.} |
| 317 |
|
| 318 |
We obtain the intersections of the bisectors with the sides. |
| 319 |
\begin{tkzexample}[latex=7cm,small] |
| 320 |
\begin{tikzpicture}[scale=.75] |
| 321 |
\tkzDefPoints{0/0/A,6/0/B,0.8/4/C} |
| 322 |
\tkzDefSpcTriangle[intouch,name=X](A,B,C){_a,_b,_c} |
| 323 |
\tkzInCenter(A,B,C)\tkzGetPoint{I} |
| 324 |
\tkzDefCircle[in](A,B,C) \tkzGetPoints{I}{i} |
| 325 |
\tkzDrawCircle(I,i) |
| 326 |
\tkzDrawPolygon(A,B,C) |
| 327 |
\tkzDrawPolygon[new](X_a,X_b,X_c) |
| 328 |
\tkzDrawPoints(A,B,C) |
| 329 |
\tkzDrawPoints[new](X_a,X_b,X_c) |
| 330 |
\tkzLabelPoints[right](X_a) |
| 331 |
\tkzLabelPoints[left](X_b) |
| 332 |
\tkzLabelPoints[above](C) |
| 333 |
\tkzLabelPoints[below](A,B,X_c) |
| 334 |
\end{tikzpicture} |
| 335 |
\end{tkzexample} |
| 336 |
|
| 337 |
\subsubsection{Option \tkzname{extouch}} |
| 338 |
The extouch triangle $T_aT_bT_c$ is the triangle formed by the points of tangency of a triangle $ABC$ with its excircles $J_a$, $J_b$, and $J_c$. The points $T_a$, $T_b$, and $T_c$ can also be constructed as the points which bisect the perimeter of $A_1A_2A_3$ starting at $A$, $B$, and $C$.\\ |
| 339 |
\href{http://mathworld.wolfram.com/ExtouchTriangle.html}{Weisstein, Eric W. "Extouch triangle" From MathWorld--A Wolfram Web Resource.} |
| 340 |
|
| 341 |
We obtain the points of contact of the exinscribed circles as well as the triangle formed by the centers of the exinscribed circles. |
| 342 |
|
| 343 |
\begin{tkzexample}[latex=8cm,small] |
| 344 |
\begin{tikzpicture}[scale=.7] |
| 345 |
\tkzDefPoints{0/0/A,6/0/B,0.8/4/C} |
| 346 |
\tkzDefSpcTriangle[excentral, |
| 347 |
name=J](A,B,C){_a,_b,_c} |
| 348 |
\tkzDefSpcTriangle[extouch, |
| 349 |
name=T](A,B,C){_a,_b,_c} |
| 350 |
\tkzDefTriangleCenter[nagel](A,B,C) |
| 351 |
\tkzGetPoint{N_a} |
| 352 |
\tkzDefTriangleCenter[centroid](A,B,C) |
| 353 |
\tkzGetPoint{G} |
| 354 |
\tkzDrawPoints[new](J_a,J_b,J_c) |
| 355 |
\tkzClipBB \tkzShowBB |
| 356 |
\tkzDrawCircles[gray](J_a,T_a J_b,T_b J_c,T_c) |
| 357 |
\tkzDrawLines[add=1 and 1](A,B B,C C,A) |
| 358 |
\tkzDrawSegments[new](A,T_a B,T_b C,T_c) |
| 359 |
\tkzDrawSegments[new](J_a,T_a J_b,T_b J_c,T_c) |
| 360 |
\tkzDrawPolygon(A,B,C) |
| 361 |
\tkzDrawPolygon[new](T_a,T_b,T_c) |
| 362 |
\tkzDrawPoints(A,B,C,N_a) |
| 363 |
\tkzDrawPoints[new](T_a,T_b,T_c) |
| 364 |
\tkzLabelPoints[below left](A) |
| 365 |
\tkzLabelPoints[below](N_a,B) |
| 366 |
\tkzLabelPoints[above](C) |
| 367 |
\tkzLabelPoints[new,below left](T_b) |
| 368 |
\tkzLabelPoints[new,below right](T_c) |
| 369 |
\tkzLabelPoints[new,right=6pt](T_a) |
| 370 |
\tkzMarkRightAngles[fill=gray!15](J_a,T_a,B |
| 371 |
J_b,T_b,C J_c,T_c,A) |
| 372 |
\end{tikzpicture} |
| 373 |
\end{tkzexample} |
| 374 |
|
| 375 |
\subsubsection{Option \tkzname{orthic}} |
| 376 |
|
| 377 |
Given a triangle $ABC$, the triangle $H_AH_BH_C$ whose vertices are endpoints of the altitudes from each of the vertices of ABC is called the orthic triangle, or sometimes the altitude triangle. The three lines $AH_A$, $BH_B$, and $CH_C$ are concurrent at the orthocenter H of ABC. |
| 378 |
|
| 379 |
\begin{tkzexample}[latex=7cm,small] |
| 380 |
\begin{tikzpicture}[scale=.75] |
| 381 |
\tkzDefPoints{1/5/A,0/0/B,7/0/C} |
| 382 |
\tkzDefSpcTriangle[orthic](A,B,C){H_A,H_B,H_C} |
| 383 |
\tkzDefTriangleCenter[ortho](B,C,A) |
| 384 |
\tkzGetPoint{H} |
| 385 |
\tkzDefPointWith[orthogonal,normed](H_A,B) |
| 386 |
\tkzGetPoint{a} |
| 387 |
\tkzDrawSegments[new](A,H_A B,H_B C,H_C) |
| 388 |
\tkzMarkRightAngles[fill=gray!20, |
| 389 |
opacity=.5](A,H_A,C B,H_B,A C,H_C,A) |
| 390 |
\tkzDrawPolygon[fill=teal!20,opacity=.3](A,B,C) |
| 391 |
\tkzDrawPoints(A,B,C) |
| 392 |
\tkzDrawPoints[new](H_A,H_B,H_C) |
| 393 |
\tkzDrawPolygon[new,fill=orange!20, |
| 394 |
opacity=.3](H_A,H_B,H_C) |
| 395 |
\tkzLabelPoints(C) |
| 396 |
\tkzLabelPoints[left](B) |
| 397 |
\tkzLabelPoints[above](A) |
| 398 |
\tkzLabelPoints[new](H_A) |
| 399 |
\tkzLabelPoints[new,above left](H_C) |
| 400 |
\tkzLabelPoints[new,above right](H_B,H) |
| 401 |
\end{tikzpicture} |
| 402 |
\end{tkzexample} |
| 403 |
|
| 404 |
\subsubsection{Option \tkzname{feuerbach}} |
| 405 |
The Feuerbach triangle is the triangle formed by the three points of tangency of the nine-point circle with the excircles.\\ |
| 406 |
\href{http://mathworld.wolfram.com/FeuerbachTriangle.html}{Weisstein, Eric W. "Feuerbach triangle" From MathWorld--A Wolfram Web Resource.} |
| 407 |
|
| 408 |
The points of tangency define the Feuerbach triangle. |
| 409 |
|
| 410 |
\begin{tkzexample}[latex=8cm,small] |
| 411 |
\begin{tikzpicture}[scale=1] |
| 412 |
\tkzDefPoint(0,0){A} |
| 413 |
\tkzDefPoint(3,0){B} |
| 414 |
\tkzDefPoint(0.5,2.5){C} |
| 415 |
\tkzDefCircle[euler](A,B,C) \tkzGetPoint{N} |
| 416 |
\tkzDefSpcTriangle[feuerbach, |
| 417 |
name=F](A,B,C){_a,_b,_c} |
| 418 |
\tkzDefSpcTriangle[excentral, |
| 419 |
name=J](A,B,C){_a,_b,_c} |
| 420 |
\tkzDefSpcTriangle[extouch, |
| 421 |
name=T](A,B,C){_a,_b,_c} |
| 422 |
\tkzLabelPoints[below left](J_a,J_b,J_c) |
| 423 |
\tkzClipBB \tkzShowBB |
| 424 |
\tkzDrawCircle[purple](N,F_a) |
| 425 |
\tkzDrawPolygon(A,B,C) |
| 426 |
\tkzDrawPolygon[new](F_a,F_b,F_c) |
| 427 |
\tkzDrawCircles[gray](J_a,F_a J_b,F_b J_c,F_c) |
| 428 |
\tkzDrawPoints[blue](J_a,J_b,J_c,% |
| 429 |
F_a,F_b,F_c,A,B,C) |
| 430 |
\tkzLabelPoints(A,B,F_c) |
| 431 |
\tkzLabelPoints[above](C) |
| 432 |
\tkzLabelPoints[right](F_a) |
| 433 |
\tkzLabelPoints[left](F_b) |
| 434 |
\end{tikzpicture} |
| 435 |
\end{tkzexample} |
| 436 |
|
| 437 |
\subsubsection{Option \tkzname{tangential}} |
| 438 |
The tangential triangle is the triangle $T_aT_bT_c$ formed by the lines tangent to the circumcircle of a given triangle $ABC$ at its vertices. It is therefore antipedal triangle of $ABC$ with respect to the circumcenter $O$.\\ |
| 439 |
\href{http://mathworld.wolfram.com/TangentialTriangle.html}{Weisstein, Eric W. "Tangential Triangle." From MathWorld--A Wolfram Web Resource. } |
| 440 |
|
| 441 |
|
| 442 |
\begin{tkzexample}[latex=8cm,small] |
| 443 |
\begin{tikzpicture}[scale=.5,rotate=80] |
| 444 |
\tkzDefPoints{0/0/A,6/0/B,1.8/4/C} |
| 445 |
\tkzDefSpcTriangle[tangential, |
| 446 |
name=T](A,B,C){_a,_b,_c} |
| 447 |
\tkzDrawPolygon(A,B,C) |
| 448 |
\tkzDrawPolygon[new](T_a,T_b,T_c) |
| 449 |
\tkzDrawPoints(A,B,C) |
| 450 |
\tkzDrawPoints[new](T_a,T_b,T_c) |
| 451 |
\tkzDefCircle[circum](A,B,C) |
| 452 |
\tkzGetPoint{O} |
| 453 |
\tkzDrawCircle(O,A) |
| 454 |
\tkzLabelPoints(A) |
| 455 |
\tkzLabelPoints[above](B) |
| 456 |
\tkzLabelPoints[left](C) |
| 457 |
\tkzLabelPoints[new](T_b,T_c) |
| 458 |
\tkzLabelPoints[new,left](T_a) |
| 459 |
\end{tikzpicture} |
| 460 |
\end{tkzexample} |
| 461 |
|
| 462 |
\subsubsection{Option \tkzname{euler}} |
| 463 |
The Euler triangle of a triangle $ABC$ is the triangle $E_AE_BE_C$ whose vertices are the midpoints of the segments joining the orthocenter $H$ with the respective vertices. The vertices of the triangle are known as the Euler points, and lie on the nine-point circle. |
| 464 |
\\ |
| 465 |
\href{https://mathworld.wolfram.com/EulerTriangle.html}{Weisstein, Eric W. "Euler Triangle." From MathWorld--A Wolfram Web Resource.} |
| 466 |
|
| 467 |
\begin{tkzexample}[latex=7cm,small] |
| 468 |
\begin{tikzpicture}[rotate=90,scale=1.25] |
| 469 |
\tkzDefPoints{0/0/A,6/0/B,0.8/4/C} |
| 470 |
\tkzDefSpcTriangle[medial, |
| 471 |
name=M](A,B,C){_A,_B,_C} |
| 472 |
\tkzDefTriangleCenter[euler](A,B,C) |
| 473 |
\tkzGetPoint{N} % I= N nine points |
| 474 |
\tkzDefTriangleCenter[ortho](A,B,C) |
| 475 |
\tkzGetPoint{H} |
| 476 |
\tkzDefMidPoint(A,H) \tkzGetPoint{E_A} |
| 477 |
\tkzDefMidPoint(C,H) \tkzGetPoint{E_C} |
| 478 |
\tkzDefMidPoint(B,H) \tkzGetPoint{E_B} |
| 479 |
\tkzDefSpcTriangle[ortho,name=H](A,B,C){_A,_B,_C} |
| 480 |
\tkzDrawPolygon(A,B,C) |
| 481 |
\tkzDrawCircle(N,E_A) |
| 482 |
\tkzDrawSegments[new](A,H_A B,H_B C,H_C) |
| 483 |
\tkzDrawPoints(A,B,C,N,H) |
| 484 |
\tkzDrawPoints[red](M_A,M_B,M_C) |
| 485 |
\tkzDrawPoints[blue]( H_A,H_B,H_C) |
| 486 |
\tkzDrawPoints[green](E_A,E_B,E_C) |
| 487 |
\tkzAutoLabelPoints[center=N,font=\scriptsize]% |
| 488 |
(A,B,C,M_A,M_B,M_C,H_A,H_B,H_C,E_A,E_B,E_C) |
| 489 |
\tkzLabelPoints[font=\scriptsize](H,N) |
| 490 |
\tkzMarkSegments[mark=s|,size=3pt, |
| 491 |
color=blue,line width=1pt](B,E_B E_B,H) |
| 492 |
\tkzDrawPolygon[color=cyan](M_A,M_B,M_C) |
| 493 |
\end{tikzpicture} |
| 494 |
\end{tkzexample} |
| 495 |
|
| 496 |
\subsubsection{Option \tkzname{euler} and Option \tkzname{orthic}} |
| 497 |
\begin{tkzexample}[vbox,small] |
| 498 |
\begin{tikzpicture}[scale=1.25] |
| 499 |
\tkzDefPoints{0/0/A,6/0/B,0.8/4/C} |
| 500 |
\tkzDefSpcTriangle[euler,name=E](A,B,C){a,b,c} |
| 501 |
\tkzDefSpcTriangle[orthic,name=H](A,B,C){a,b,c} |
| 502 |
\tkzDefExCircle(A,B,C) \tkzGetPoints{I}{i} |
| 503 |
\tkzDefExCircle(C,A,B) \tkzGetPoints{J}{j} |
| 504 |
\tkzDefExCircle(B,C,A) \tkzGetPoints{K}{k} |
| 505 |
\tkzDrawPoints[orange](I,J,K) |
| 506 |
\tkzLabelPoints[font=\scriptsize](A,B,C,I,J,K) |
| 507 |
\tkzClipBB |
| 508 |
\tkzInterLC(I,C)(I,i) \tkzGetSecondPoint{Fc} |
| 509 |
\tkzInterLC(J,B)(J,j) \tkzGetSecondPoint{Fb} |
| 510 |
\tkzInterLC(K,A)(K,k) \tkzGetSecondPoint{Fa} |
| 511 |
\tkzDrawLines[add=1.5 and 1.5](A,B A,C B,C) |
| 512 |
\tkzDefCircle[euler](A,B,C) \tkzGetPoints{E}{e} |
| 513 |
\tkzDrawCircle[orange](E,e) |
| 514 |
\tkzDrawSegments[orange](E,I E,J E,K) |
| 515 |
\tkzDrawSegments[dashed](A,Ha B,Hb C,Hc) |
| 516 |
\tkzDrawCircles(J,j I,i K,k) |
| 517 |
\tkzDrawPoints(A,B,C) |
| 518 |
\tkzDrawPoints[orange](E,I,J,K,Ha,Hb,Hc,Ea,Eb,Ec,Fa,Fb,Fc) |
| 519 |
\tkzLabelPoints[font=\scriptsize](E,Ea,Eb,Ec,Ha,Hb,Hc,Fa,Fb,Fc) |
| 520 |
\end{tikzpicture} |
| 521 |
\end{tkzexample} |
| 522 |
|
| 523 |
\subsubsection{Option \tkzname{symmedial}} |
| 524 |
The symmedial triangle$ K_AK_BK_C$ is the triangle whose vertices are the intersection points of the symmedians with the reference triangle $ABC$. |
| 525 |
|
| 526 |
\begin{tkzexample}[latex=7cm,small] |
| 527 |
\begin{tikzpicture} |
| 528 |
\tkzDefPoint(0,0){A} |
| 529 |
\tkzDefPoint(5,0){B} |
| 530 |
\tkzDefPoint(.75,4){C} |
| 531 |
\tkzDefTriangleCenter[symmedian](A,B,C)\tkzGetPoint{K} |
| 532 |
\tkzDefSpcTriangle[symmedial,name=K_](A,B,C){A,B,C} |
| 533 |
\tkzDrawPolygon(A,B,C) |
| 534 |
\tkzDrawSegments[new](A,K_A B,K_B C,K_C) |
| 535 |
\tkzDrawPoints(A,B,C,K,K_A,K_B,K_C) |
| 536 |
\tkzLabelPoints(A,B,K,K_C) |
| 537 |
\tkzLabelPoints[above](C) |
| 538 |
\tkzLabelPoints[right](K_A) |
| 539 |
\tkzLabelPoints[left](K_B) |
| 540 |
\end{tikzpicture} |
| 541 |
\end{tkzexample} |
| 542 |
|
| 543 |
\subsection{Permutation of two points of a triangle} |
| 544 |
|
| 545 |
\begin{NewMacroBox}{tkzPermute}{\parg{$pt1$,$pt2$,$pt3$}}% |
| 546 |
\begin{tabular}{lll}% |
| 547 |
arguments & example & explanation \\ |
| 548 |
\midrule |
| 549 |
\TAline{(pt1,pt2,pt3)} {\tkzcname{tkzPermute}(A,B,C)}{$A$, $\widehat{B,A,C}$ are unchanged, $B$, $C$ exchange their position} |
| 550 |
\midrule |
| 551 |
\end{tabular} |
| 552 |
|
| 553 |
\medskip |
| 554 |
\emph{The triangle is unchanged.} |
| 555 |
\end{NewMacroBox} |
| 556 |
|
| 557 |
\subsubsection{Modification of the \tkzname{school} triangle} |
| 558 |
This triangle is constructed from the segment $[AB]$ on $[A,x)$. |
| 559 |
|
| 560 |
If we want the segment $[AC]$ to be on $[A,x)$, we just have to swap $B$ and $C$. |
| 561 |
|
| 562 |
\begin{tkzexample}[latex=7cm,small] |
| 563 |
\begin{tikzpicture} |
| 564 |
\tkzDefPoints{0/0/A,4/0/B,6/0/x} |
| 565 |
\tkzDefTriangle[school](A,B) |
| 566 |
\tkzGetPoint{C} |
| 567 |
\tkzPermute(A,B,C) |
| 568 |
\tkzDrawSegments(A,B C,x) |
| 569 |
\tkzDrawSegments(A,C B,C) |
| 570 |
\tkzDrawPoints(A,B,C) |
| 571 |
\tkzLabelPoints(A,C,x) |
| 572 |
\tkzLabelPoints[above](B) |
| 573 |
\tkzMarkRightAngles(C,B,A) |
| 574 |
\end{tikzpicture} |
| 575 |
\end{tkzexample} |
| 576 |
|
| 577 |
Remark: Only the first point is unchanged. The order of the last two parameters is not important. |
| 578 |
|
| 579 |
\endinput |