Line segments and coordinates