Fundamental Concepts
3. The Line Segment · Connecting two points with the shortest path
A line segment connects two distinct points with a straight path.
A line segment is a piece of a line bounded by two endpoints. Unlike a line, it has a measurable length. Drag A or B — AB always stays the straight path between the two endpoints, with the length you see updating live.