A line segment has a left endpoint, A, and a right endpoint, B.

A two-way arrow has a labeled point on the left, A, and a labeled point on the right, B.
A left-arrow has a right endpoint, B, and a labeled point on the left, A.

What is the length of the line segment AB?

The length of the line segment AB is the distance between the two points A and B.