Is it possible to have a line go through two coordinates and then extend until it intersects with another line? The line in question is not horizontal nor vertical (otherwise I could use the perpendicular coordinate system).
My current code is
\begin{tikzpicture}
\coordinate[label={left:$(x, y, z)$}] (w) at (-6,2);
\coordinate (c) at (0,0);
\coordinate[label={right:$(x,y)$}] (b) at (3,-1);
% I want to avoid hard-coding this coordinate
\draw[ultra thick,-stealth] (w |- c) -- (w);
\draw[ultra thick,-stealth] (c -| b) -- (b);
\draw (c) +(0,1.5) -- ++(0,-1.5);
\draw[dashed] (w |- c) -- (c -| b);
\draw[dashed] (w) -- (c); % Currently two paths to emulate the result
\draw[dashed] (c) -- (b);
\end{tikzpicture}
So, what I'd like is to specify a path that goes through point w and c and extends until it intersects with the (imaginary) vertical line at (3,y). I don't want to hardcode the position of point b, but have tikz calculate it for me.



tikz:because this job has been done by the chosen tags. – Click Me Sep 9 '12 at 11:30