![원점 중심이 아닌 열쇠 구멍 윤곽선을 어떻게 생성합니까?](https://rvso.com/image/353019/%EC%9B%90%EC%A0%90%20%EC%A4%91%EC%8B%AC%EC%9D%B4%20%EC%95%84%EB%8B%8C%20%EC%97%B4%EC%87%A0%20%EA%B5%AC%EB%A9%8D%20%EC%9C%A4%EA%B3%BD%EC%84%A0%EC%9D%84%20%EC%96%B4%EB%96%BB%EA%B2%8C%20%EC%83%9D%EC%84%B1%ED%95%A9%EB%8B%88%EA%B9%8C%3F.png)
답변1
이와 같이:
이미지에서는 $sin{alpha} ~ \alpha$(작은 \alpha에서)로 간주되며 궤적에 있는 구멍 각도 사이의 비율은 약 8입니다.
\documentclass[tikz,
border=3mm,
]{standalone}
\usetikzlibrary{arrows.meta, decorations.markings}
\begin{document}
\begin{tikzpicture}[>=Straight Barb,
decoration={markings,% switch on markings
mark=between positions 0.2 and 0.8 step 0.25 with {\arrow[thick]{>}},
mark=at position 0.86 with {\arrow[thick]{>}},
mark=at position 0.98 with {\arrow[thick]{>}}
}]
% curve
\draw[fill=gray!10, postaction={decorate}]
(47.5:2) arc (47.5:360:2 ) arc (0:42.5:2)
-- + (225:0.5) arc (25 :0 :0.25) arc(360:65:0.25) -- cycle;
% singularity
\fill[red] (45:1.25) circle (1pt) node[inner sep=2pt,font=\footnotesize,right] {$a$};
% radius
\draw[thick, ->] (0,0) -- node[sloped,above] {$r$} (330:2);
% coordinate axes
\draw[->] (-3,0) -- (3,0) node[right] {$\Re$};
\draw[->] (0,-3) -- (0,3) node[above] {$\Im$};
\end{tikzpicture}
\end{document}