Intrinsic geometry of curves and the Lorentz equation