A line segment has two endpoints that define it.