Line segments and point coordinates