答案1
一种方法是使用intersections
图书馆。
\documentclass[tikz,border=0.5mm]{standalone}
\usetikzlibrary{intersections}
\begin{document}
\begin{tikzpicture}
\coordinate (O) at (0,0);
\path[ name path=L1] (O) -- ++(30:3);
\path[name path=L2] (O) -- ++(40:3);
\path[name path=L3] (O) -- ++(50:4);
\path[name path=vert] (2,0) -- (2,3);
\path [name intersections={of=L1 and vert,by={A}}];
\path [name intersections={of=L2 and vert,by={B}}];
\path [name intersections={of=L3 and vert,by={C}}];
\draw [->](O)--(A);
\draw [->](O)--(B);
\draw [->](O)--(C);
\end{tikzpicture}
\end{document}