How to define / save a point for later usage with x/y-coordinates of other points?
I tried to use the perpendicular coordinate system shortform |- and -| but could not define points that way.
In bigger pictures I would prefer using a node instead of expressions like (A -| B) all the time.
Especially with more complicated "calculations" for relative positions of points this could get tedious.
\begin{tikzpicture}
\draw [help lines, step=0.5cm] (-2.5,0) grid (0,2.5);
\node (A) at (-0.5,0.5) {A};
\node (B) at (-2,2) {B};
% \node (someName) at (A -| B);
\draw (A |- B) node {C};
\draw (A -| B) node {D};
\draw (A |- B) edge (A -| B);
\end{tikzpicture}


$ ... $expressions as done here :\path ($(A)!0.5!(B)$) |- node[red] {X} ($(C)!0.5!(D)$);? – BadAtLaTeX Mar 27 '15 at 14:28$ ... $. So combining with all kinds of calc expressions. Something like\node (someName) at (($A - (0,1)$) -| B) {};or (since this is equal to$(A -| B) - (0,1)$- which works) expresions using(A)!0.5!(B)like in that other question linked above. – BadAtLaTeX Mar 27 '15 at 15:34\path ($(A)!0.5!(B)$) -| node[red] (X) {X} (C);? – darthbith Mar 27 '15 at 16:19