![如何建立不以原點為中心的鎖孔輪廓?](https://rvso.com/image/353019/%E5%A6%82%E4%BD%95%E5%BB%BA%E7%AB%8B%E4%B8%8D%E4%BB%A5%E5%8E%9F%E9%BB%9E%E7%82%BA%E4%B8%AD%E5%BF%83%E7%9A%84%E9%8E%96%E5%AD%94%E8%BC%AA%E5%BB%93%EF%BC%9F.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}