어쨌든 두 점의 좌표와 너비로 호를 그릴 수 있습니까?

어쨌든 두 점의 좌표와 너비로 호를 그릴 수 있습니까?

먼저 최소한의 작업 샘플은 다음과 같습니다.

\documentclass{article}

\usepackage{tikz}
\usetikzlibrary{intersections}%

\begin{document}

\begin{tikzpicture}
\path (60:2) ++ (0,0) coordinate (A);%
\draw (A) arc (60:-60:2);%
\path (0:2) ++ (0,0) coordinate (D);%
\path (-60:2) ++ (0,0) coordinate (B);%
\draw [help lines, name path=patha] (A) -- (B);
\path [name path=pathb] (0,0) -- (2,0);
\path[name intersections={of=patha and pathb, by={C}}];%
\draw [help lines] (C) -- (D);
\node [left] at (A) {$A$};
\node [left] at (B) {$B$};
\node [left] at (C) {$C$};
\node [right] at (D) {$D$};
\end{tikzpicture}

\end{document}

여기에 이미지 설명을 입력하세요

보시다시피 하나의 좌표, 시작 각도와 끝 각도, 반경에서 호 ADB를 그립니다. 내 질문은

어쨌든 두 점(예: A와 B)의 좌표와 너비(예: CD=1)에서 호를 그릴 수 있습니까? (호가 왼쪽이나 다른 방향을 향한다고 가정)

관련 정보