Vector code probability and metrication error in the representation of straight lines of finite length