Line segments and their properties