LineSegment has endpoints
Formatting fix