Distance and Length of a Segment