Is the object a line or a line segment?


G H
*------------*

line segment