Is squared Euclidean distance a metric? In particular does it obey triangle inequality? I think no, but cannot find a counterexample.
Edit: Does this (not obeying the triangle rule) happen only when one of the points resides on the line segment made by the two other points?