TikZ:サンプルコード付:2辺とその間の角がわかる三角形の作図

こんにちは。三角形の作図やっていきましょう。

2辺とその間の角がわかる三角形

Rendered by QuickLaTeX.com


以下が上のソースコード

TikZ
\usepackage{tikz}
\usetikzlibrary{calc, angles, quotes}

\begin{tikzpicture}[scale=1]
\draw [thick](0,0) node[below left]{B} coordinate(B);
\draw [thick](6cm,0) node[below right]{C} coordinate(C);
\coordinate(P) at (5,0);
\coordinate(A) at ($(B)!8cm!45:(P)$);
\draw [thick](A) node[above]{A};
\draw[thick](A)--(B)--(C)--cycle;
\draw pic[draw, angle radius=15pt, "$45^{\circ}$" shift={(5mm,2mm)}] {angle=C--B--A};
\coordinate (V) at ($(B)!.5!(A)$) node at (V) [above left] {8cm};
\coordinate (W) at ($(C)!.5!(B)$) node at (W) [below] {6cm};
\end{tikzpicture}

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)