I would like a metric $d(\;)$ between pairs of (infinite) lines in $\mathbb{R}^3$, with these properties:
If two lines $L_1$ and $L_2$ are parallel and separated by distance $x$, then $d(L_1,L_2) = x$.
$d(L_1,L_2)$ increases with the degree of skewness between the lines, i.e., the angle $\theta$ between their projections onto a plane orthogonal to the shortest segment connecting them (dashed below), where $\theta=0$ for parallel lines and $\theta=\pi/2$ for orthogonal lines.
Intuitively, I would like the metric to be related to the repulsive force between two electrically charged lines (but it need not be exactly the actual physical force).
Have such metrics been considered in the literature? If so, I'd appreciate descriptions and/or pointers—Thanks!
Update1. It turns out that the natural ad hoc definition (from the comments)
fails to be a metric.
For example, below, a sufficiently large value of $a$ ensures the triangle inequality will be violated:
So this question may be more difficult than it initially appeared...
Update2. The responses to this followup MO question have revealed that in fact there is no metric that satisfies my two conditions (and is continuous w.r.t. $\theta$)!